From: Alex Lowe Newsgroups: comp.os.msdos.djgpp Subject: Re: Running program Date: Tue, 05 Jan 1999 14:03:23 -0800 Organization: TempleCRC Lines: 23 Message-ID: <36928C2B.4B9DFECF@2xtreme.net> References: <3691AB24 DOT E046A86D AT thegrid DOT net> NNTP-Posting-Host: p112.stk1.2xtreme.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.5 [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 Well, I am assuming file output is the desired output of your program. If you are compiling and running from within RHIDE, which I also am assuming you are doing, you are running the program and the program has nothing to stop it from exiting and it is returning to RHIDE. Put a getch(); so you can stop and look at your output before the program exits. The exit code is the return value of your program. Getting a 0 is a success. -- Alex ayin AT 2xtreme DOT net Steve Street wrote: > > I'm having a problem running my program. After I compile it and try to > run it, it says exit code 0-0000 or something like that. Then, after I > close out, there's a window with the file output in it. What's with > this? I already read the FAQ too!! > > Sincerely, > Taylor Street