why is return (EXIT_SUCCESS) bad??

Pages: 12
Nov 1, 2011 at 1:49am
He's using big words to say, no matter what C++ compiler, IDE, standard, implementation, whatever, you're using, you can exit main() with 0.
Nov 1, 2011 at 1:54am
Not just that you can exit it with 0, but that if you do exit it with zero, the standard is that this is considered to be a successful result.
Nov 1, 2011 at 11:35am
My bad, yes that too :/
Nov 1, 2011 at 1:21pm
http://www.cplusplus.com/forum/beginner/53761/#msg291009

This is an example of why I don't use white space that much; In circumstances like this, I find that it makes code almost completely illegible. For some people, though, it's just the opposite. Having my code all squished together makes their brain hurt.
Nov 2, 2011 at 12:13am
@ciphermagi: yea that isn't nice to look at at all. And I started to write this comment to say a few things about what I prefer to you, but having re-read all of your comments I think I completely agree with everything you've said. Keep you the good coding good sir.
Topic archived. No new replies allowed.
Pages: 12