From: Endlisnis Newsgroups: comp.os.msdos.djgpp Subject: Re: Projects in RHIDE: Date: Wed, 09 Sep 1998 19:33:42 -0300 Organization: NBTel Internet Lines: 30 Message-ID: <35F70246.B0705435@unb.ca> References: <35F6D29E DOT AB012BE6 AT sandia DOT gov> NNTP-Posting-Host: fctnts10c05.nbnet.nb.ca Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Jason wrote: > > Well, guys, I guess I should've mentioned last time that I'm a newbie! > I have been learning C++ through an online tutorial, and I am starting > classes. The problem is that in the tutorial, it is trying to teach me > to use several different files for one program. The filenames are: > > - box.h -> class definition > - box.cpp -> implementation > - boxes2.cpp -> contains main() > > I want to use RHIDE to do this, as I am now able to do it from the > command line, so I figure I have to use projects. This is what I have > done up to now: > > - I already compiled box.cpp and boxes2.cpp. > - I started a new project called "testproj.gpr" > - I added box.o and boxes2.o to the project > - I went to Run -> Run Don't precompile your cpp files, just load them into the project. The problem is that it doesn't know what language you are using, so it probably defaults to C, you need C++, so include the cpp files and it will only compile them if required. -- (\/) Endlisnis (\/) s257m AT unb DOT ca Endlisnis AT GeoCities DOT com Endlis AT nbnet DOT nb DOT ca