Subj : Re: Class problems To : borland.public.cpp.borlandcpp From : maeder Date : Sun Sep 12 2004 12:59 pm "Mark Manning/Muniz Eng." writes: > void main( int argc, char *argv[] ) is perfectly valid as long as exit > is not used. No. Both the C and the C++ language have always required the return type of main() to be int. The ISO Standards for the languages require compilers to produce a diagnostic message if the return type is different from void. There are many buggy compilers out there, including, I think all Borland has ever released, that let you get away with main()'s return type being void, but that doesn't make doing it any more correct. .