Why does everyone make so much fuss about “void main()”?
Because the return type of the main() function must be int in both C and C++. Anything else is undefined. Bottom line – don’t try to start a thread about this in alt.comp.lang.learn.c-c++ as it has already been discussed many, many times and generates more flamage than any other topic. See also: http://www.eskimo.com/~scs/C-faq/q11.12.html http://home.att.net/~jackklein/ctips01.html#int_main http://www.comeaucomputing.