www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/05/23:06:09

From: Endlisnis <s257m AT unb DOT ca>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Seperate Compilation again...
Date: Fri, 05 Mar 1999 21:33:38 -0400
Organization: BrunNet
Lines: 27
Message-ID: <36E085F2.5AF82B7A@unb.ca>
References: <7bp8oi$1ql$1 AT news3 DOT infoave DOT net>
NNTP-Posting-Host: ftnts1c19.brunnet.net
Mime-Version: 1.0
X-Mailer: Mozilla 4.04 [en] (Win95; U)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Paganini wrote:

> I need some help...I'm using RHIDE to write programs for my CIS course, and
> am required to impliment class ADTs in two seperate files:
>
> A header file, with the class definition, and an implimentation file with
> the code for the member and friend functions. I have several ADTs that I've
> writen in this manner...a stack class and a queue class...
>
> I tried creating a project with an application file for the main function,
> and adding the implimentation file for the ADT to the project. Both the
> application file and the ADT implimentation file #include the header file.
> When I compile with RHIDE, the linker doesn't seem to be able to find the
> functions in the ADT implimentation file...after compiling it says that all
> the class ADT member functions are undefined.

    Are you using templates?

--
     (\/) Endlisnis (\/)
          s257m AT unb DOT ca
          Endlisnis AT GeoCities DOT com
          Endlisnis AT BrunNet DOT Net
          Endlisnis AT HotMail DOT com



- Raw text -


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