[Dev-C++] Error using void main (void)
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Alexsandro M. <mei...@gm...> - 2005-04-20 22:56:27
|
Hi, all! I tried to use the following expression in Dev-C++ void main (void) The compiler give a warning message "output of main is not int". Something= =20 like that. Although it gives this warning it compilies well. Why this=20 happens? Main should always have a return type? Tks in advance! --=20 Alexsandro Meireles |