delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/29/05:50:25.1

From: "Martin Lain" <LAINM AT feld DOT cvut DOT cz>
Organization: CVUT FEL student
To: djgpp AT delorie DOT com
Date: Thu, 29 Oct 1998 11:49:51 MET-1MEST
MIME-Version: 1.0
Subject: Re: program exit code 0?
X-mailer: Pegasus Mail v3.40
Message-ID: <23B776F6686@FELIS.FELD.CVUT.CZ>
Reply-To: djgpp AT delorie DOT com

> From:           "dan" <blueshifted AT geocities DOT comx>
> Subject:        program exit code 0?
> Date sent:      Thu, 29 Oct 1998 01:44:28 -0500
> Organization:   Prodigy Services Corp
> To:             djgpp AT delorie DOT com
> Send reply to:  djgpp AT delorie DOT com

Well, that's no error. When your program exits, rhide will inform 
you, with which error code it returned. Zero means that there were no 
error.
You can set the error code at the end of your by calling function
exit(number), where number is the code the program will return with.

  Martin Lain

> Hi.
> 
> I get the following error after i run a c++ program through rhide:
> 
> Program Exit Code: 0 (0x0000)
> 
> The program compiles and runs okay though.
> 
> I thought I seen the fix for this problem in the readme's before, but i
> can't seem to find it again.  Can anyone help?
> 
> thanks.
> 
> -dan
> 
> 
> 

- Raw text -


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