Newline at the end of file
I'm using mingw and it's warning me about not having a newline at the end . Why do I need a newline at the end ? Is that line is an eof line ?
It's a more or less arbitrary rule in the C++ standard.
Some *nix shells don't add that newline, which results on one ugly line. That might be part of where that standard came from.
-Albatross
Topic archived. No new replies allowed.