delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/10/11:55:58

Message-ID: <361F8393.CD202E6A@montana.com>
Date: Sat, 10 Oct 1998 09:56:03 -0600
From: bowman <bowman AT montana DOT com>
X-Mailer: Mozilla 4.5b2 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: Please: Newbie and "Who's Afraid of C++" needs help w/djgpp
References: <361F6273 DOT 3E80 AT erols DOT com>
Reply-To: djgpp AT delorie DOT com


dannys AT erols DOT com wrote:
> 
> itemtst1.cc: follwed by a number, 0, 7, 10, etc and then "undefined
> reference to 'StockItem: :Display and other similar messages to numerous

I'm not a real C++ user, but it sounds like you are not picking up the
header file with the declaration of the class, StockItem. Check the
#includes, and see if you have everything you need in the directory you
are compiling from, or see the gcc info regarding the -I switch.

- Raw text -


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