Mail Archives: djgpp/1997/03/08/02:58:43
Lee James wrote:
> Try putting in the word void before main It does help...
No, it wouldn't. First, a main function returning void is non-ANSI -- main
must always return int (this is what he has it doing implicitly, although
he doesn't actually return a value).
Furthermore, if his problem is undefined references, then he has a linker
problem, which would have nothing to do with his choice of return type for
main.
--
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 -