Mail Archives: djgpp/2002/01/06/03:20:44
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 -