www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/23/22:17:33

From: "A. Sinan Unur" <sinan DOT unur AT cornell DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Me again... btw, Thanks, but...
Date: Fri, 23 Jan 1998 17:51:22 -0500
Organization: Cornell University (http://www.cornell.edu/)
Lines: 55
Sender: asu1 AT cornell DOT edu (Verified)
Message-ID: <34C91EEA.43985E11@cornell.edu>
References: <6ab425$gmt AT bgtnsc03 DOT worldnet DOT att DOT net>
NNTP-Posting-Host: cu-dialup-0034.cit.cornell.edu
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Angel Ryan wrote:

> Also, for some reason now, when I try to use the run command w/ a 
> source code, I get this strange message in a pop-up information window 
> in RHIDE:
> 
> Program exit code: 13 (0x000d)

using

 void main()

aren't you?

see the comp.lang.c.faq at
http://www.cis.ohio-state.edu/hypertext/faq/bngusenet/comp/lang/c/top.html

11.12:  Can I declare main() as void, to shut off these annoying "main
        returns no value" messages?
11.13:  But what about main's third argument, envp?
11.14:  I believe that declaring void main() can't fail, since I'm
        calling exit() instead of returning.
11.15:  The book I've been using always uses void main().
11.16:  Is exit(status) truly equivalent to returning the same status
        from main()?

as for your other question, go to the directory you want to create your
project e.g.

c:\windows> md \projects\my_new_project
c:\windows> cd \projects\my_new_project
c:\projects\my_new_project> md src
c:\projects\my_new_project> md obj
c:\projects\my_new_project> rhide my_new_project

and then set up the source, object etc paths.

when you double click on a short cut you set up for rhide, it always
starts in the directory that is specified as the working directory in
the properties sheet.

if you don't like the command line stuff, get the "Command Prompt Here"
powertoy from www.microsoft.com. do the above using explorer, and then
open a command prompt in the my_new_project folder, and start rhide
using

c:\projects\my_new_project> rhide my_new_project
-- 
----------------------------------------------------------------------
A. Sinan Unur
Department of Policy Analysis and Management, College of Human Ecology,
Cornell University, Ithaca, NY 14853, USA

mailto:sinan DOT unur AT cornell DOT edu
http://www.people.cornell.edu/pages/asu1/

- Raw text -


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