X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f Date: Sun, 6 Jan 2002 10:17:07 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Damon Steward cc: djgpp AT delorie DOT com Subject: Re: your mail In-Reply-To: <000c01c1968a$0efe88e0$6d422bd1@0019148570> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sun, 6 Jan 2002, Damon Steward wrote: > Hello, my name is Damon and I am trying to use the rhide compiler to > program in C++. Every time I enter the code, save it, compile it, and > try to run it, it says: > > Program exit code: -1 (Oxffffffff) > > Can you please tell me what that means and what I need to do to fix it? It means your program returned an exit status of -1 to the operating system. Any non-zero return status is by convention a sign of abnormal termination, so RHIDE reports it. I'm guessing that in your case, you simply forgot to put "return 0;" at the end of your `main' function, so it returns some random garbage, which happens to be -1.