|
-
November 2nd, 2004, 12:26 PM
#11
Originally posted here by lepricaun
well, i did a little research, and as you can see, it is preffered to use main(void) if not using arguments.
It is not incorrect (nor will you get any warnings) if you use int main() over int main(void), which was the point I made in the first place. It might be preferred by some people but that's just like saying I prefer to put my curly braces on lines of their own whereas other people don't.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|