Mail Archives: djgpp/1997/06/24/02:03:56
Robert Humphris wrote:
>
> void main()
And be sure to use the correct definition for main(), or I'll have to
hunt you down and beat you to death with a rusty nail file.
One more time: it's int main( void ) { ... return 0; } or int main( int
argc, char *argv[] ) { ... return 0; }. NOTHING ELSE IS VALID ANSI C!!!
(P.S.: I make an exception for compilers that include the environment
as a third parameter; although according to the C FAQ you shouldn't rely
on this either.)
--
---------------------------------------------------------------------
| John M. Aldrich | "If 'everybody knows' such-and-such, |
| aka Fighteer I | then it ain't so, by at least ten |
| mailto:fighteer AT cs DOT com | thousand to one." |
| http://www.cs.com/fighteer | - Lazarus Long |
---------------------------------------------------------------------
- Raw text -