On Mon 12 Oct 1998, Chris Leishman wrote: > On Mon, Oct 12, 1998 at 08:24:49AM +0100, M.C. Vernon wrote: > > > > > void main(void) > > > > <snippety> > > > > BTW, main returns int, not void. See the comp.lang.c FAQ for the bit of > > the C standard that defines this - main is incorrectly said to return void > > in a number of texts though. > > Yeah, I know...but when I'm writing little 2second programs to check > something I tend to not fuss with returns, etc, etc...
Then you should just leave out the "void" in front of "main"; that's less typing and does the right thing :-) Paul Slootman -- home: [EMAIL PROTECTED] | work: [EMAIL PROTECTED] | debian: [EMAIL PROTECTED] http://www.wurtel.demon.nl | Murphy Software, Enschede, the Netherlands