From: Jason Newsgroups: comp.os.msdos.djgpp Subject: Projects in RHIDE: Date: Wed, 09 Sep 1998 13:10:22 -0600 Organization: Sandia National Labs Lines: 37 Message-ID: <35F6D29E.AB012BE6@sandia.gov> NNTP-Posting-Host: tags2pc.csu890.sandia.gov 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 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 After this, I get an error saying "undefined reference to 'cout'" for every line with 'cout' in boxes2.cpp - the file with the main function. Am I doing everything right as far as procedure? I hope all it needs is a little configuration editing or something small. Thanks alot guys! --JASON-- -- ----------------------------------------- | ------------------------------------- | | | Jason Saavedra - Student and Psycho | | | | Sandia National Laboratories | | | | Albuquerque, NM | | | | ----------------------------------- | | | | Any insanities expressed are mine. | | | | (you may borrow, but please return) | | | ------------------------------------- | -----------------------------------------