Bill Cunningham wrote: > It can return either an int or nothing. In other words void. > > void main(void) > > Bill >
The main function can return void, but should not: newer versions of both the C and C++ standards define it as returning type int. Compilers accept void for backwards compatibility only. New programs should always return an int. -- John Gaughan http://www.jtgprogramming.org/
