delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/01/06/03:20:44

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 <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Damon Steward <montana AT blueriver DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: your mail
In-Reply-To: <000c01c1968a$0efe88e0$6d422bd1@0019148570>
Message-ID: <Pine.SUN.3.91.1020106101517.678M-100000@is>
MIME-Version: 1.0
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

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019