Mail Archives: djgpp/1997/02/11/17:47:36
On Sat, 8 Feb 1997, John M. Aldrich wrote:
> > : void main()
> void main() is an illegal construct under C++. main() MUST return an
> integer. Period. The compiler should give you a warning about this if
> you compile with '-Wall'. It's also extremely bad practice in C.
Never thought about that, every program under DOS always returns an code,
even if it's a 0. And in a like vein, they also recieve arguments, even
if they might be NULL.
<! PrePared HTML! Just export as a HTML file and Click!>
The Light<a href="http://www.thelight.org/">.</a>
A Christian Web Site!
<a href="http://www.hspro.com/hotspot/">HotSpot</a>
- Raw text -