From: Erik Max Francis Newsgroups: comp.lang.c++,comp.os.msdos.djgpp Subject: Re: CIN COUT Date: Fri, 07 Mar 1997 22:26:31 -0800 Organization: Alcyone Systems Lines: 19 Message-ID: <33210697.74A56646@alcyone.com> References: <331BC0D5 DOT 5CB AT aracnet DOT com> NNTP-Posting-Host: newton.alcyone.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp 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)