-
int main(void) whatever!
I always use main() instead of int main(void) in my programs, and I never receive any errors.
Anyway, I want to know if anyone would recommend me to stop using main() even though it doesn't cause any errors.
While I'm at it, I never put return 0; at the end of my programs either.
Will I have to give up my evil ways if I'm to ascend to C++ programming? :)
-
The 2 languages have different requirements. You should learn to use the correct method for both. If you don't know what they are, do a search, it's been discussed too many times already.
Sorry, but I won't let this thread run into another void/int main argument, which is what is bound to happen, so I'm going to close it. Any problems/questions, drop me a PM.