From: "A. Jans-Beken" Newsgroups: comp.os.msdos.djgpp Subject: Re: Rookie question Date: Fri, 29 Dec 2000 16:56:02 +0100 Organization: Planet Internet Lines: 14 Message-ID: <3A4CB412.DB798411@wxs.nl> References: <20001229104058 DOT 23451 DOT 00000225 AT ng-ci1 DOT aol DOT com> NNTP-Posting-Host: ipc3797b26.dial.wxs.nl Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: reader01.wxs.nl 978105275 54955 195.121.123.38 (29 Dec 2000 15:54:35 GMT) X-Complaints-To: abuse AT wxs DOT nl NNTP-Posting-Date: 29 Dec 2000 15:54:35 GMT X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Please post your source-code here TCHASIII wrote: > I am attempting to learn C++ and am using the Rhide editor. When I write a > program (even a simple 'hello world') the program compiles with no errors but > when I try to run it, all I get is a window with a message saying "program exit > code : -1(0xffffffff). I have tried setting the exit to 0 within the program > (exit(0);) but get the same result. > Probably something stupid (I'm very new to this) but I would greatly appreciate > any help. > Thanks, > Chas