<p>MercurySquad: What you said applies only to C, not C++ programming. Considering that he is using STL and iostreams, he has to be doing C++.</p>
<p><a href=“http://homepages.tesco.net/~J.deBoynePollard/FGA/legality-of-void-main.html[/url]”>http://homepages.tesco.net/~J.deBoynePollard/FGA/legality-of-void-main.html</a></p>
<p>“The ISO C++ Standard (ISO/IEC 14882:1998) specifically requires main to return int. But the ISO C Standard (ISO/IEC 9899:1999) actually does not. This comes as a surprise to many people. But despite what many documents say, including the Usenet comp.lang.c FAQ document (at great length), the actual text of the C Standard allows for main returning other types.”</p>
<p>Edit: Oh, and I get browny points for referencing the ISO C++ Standard <insert big=“” number=“” here=“”> :p</insert></p>