This statement is Microsoft Specific but is outside the the Microsoft Specific section markers:
Alternately, the main and wmain functions can be declared as returning void (no return value). If you declare main or wmain as returning void, you cannot return an exit code to the parent process or operating system using a return statement; to return an exit code when main or wmain is declared as void, you must use the exit function.
ANSI C or C++ requires that main() return an int of 0 or 1 only.
Please note that Visual Studio.NET 2005 reports an error when main() returns void. You have to enable Microsoft Extensions for the error to go away.