From: Endlisnis Newsgroups: comp.os.msdos.djgpp Subject: Re: Why doesn't C++ work!?!?! Date: Wed, 09 Sep 1998 19:22:59 -0300 Organization: NBTel Internet Lines: 17 Message-ID: <35F6FFC3.86451453@unb.ca> References: <35F04DC0 DOT EFB0B348 AT unb DOT ca> <35F0B4D0 DOT 91F4A0F8 AT cartsys DOT com> <35f37423 DOT 319246 AT news DOT uow DOT edu DOT au> NNTP-Posting-Host: fctnts10c05.nbnet.nb.ca 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 Precedence: bulk Brett Porter wrote: > >> Also, DJGPP by default returns 0 if nothing is specified. (at > >> least in main it does). > >Does it really? I haven't seen that. Do you have evidence to support > >it? > I know for sure it doesn't, unless RHIDE is playing tricks on me. I've > been getting return codes that are almost random in the dialog box > after termination when I forget return 0; You were probably compiling C code, C++ code automatically returns 0 if no return statement appears. -- (\/) Endlisnis (\/) s257m AT unb DOT ca Endlisnis AT GeoCities DOT com Endlis AT nbnet DOT nb DOT ca