Mail Archives: djgpp/1997/03/05/13:18:20
Dazzling Dazz wrote:
> wouldn't you have to declare main as a void or int? Like this:
Actually, you _have_ to declare it as returning int. Not doing so is an
draft standard C++ violation.
Not specifying the return type defaults to int. The program posted has a
no value returned error, but nothing more.
--
Erik Max Francis, &tSftDotIotE / email: max AT alcyone DOT com
Alcyone Systems / web: http://www.alcyone.com/max/
San Jose, California, United States / icbm: 37 20 07 N 121 53 38 W
\
"I am become death, / destroyer of worlds."
/ J. Robert Oppenheimer (quoting legend)
- Raw text -