cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/14/02:21:55

From: gsm77 AT aol DOT com (GSM77)
Newsgroups: comp.os.msdos.djgpp
Subject: Re : can this thing do virtual functions or not?
Lines: 17
NNTP-Posting-Host: ladder01.news.aol.com
X-Admin: news AT aol DOT com
Date: 14 Jan 1999 07:14:24 GMT
References: <77fo8o$22v$1 AT loki DOT cf DOT ac DOT uk>
Organization: AOL, http://www.aol.fr
X-Newsreader: AOL Offline Reader
Message-ID: <19990114021424.25333.00004847@ngol02.aol.com>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi Guy !

Your error is ..... when you define some functions, 
you HAVE TO write it somewhere.

Where are the functions :
Thing::number;
Thing::str;
Thing::print;

This functions are the virtual part of your object Thing, 
so the linker can't find the virtual table, because it doesn't exist ....

When you'll write the body of this functions,  You program will work...   ;-) 

 KAMY

- Raw text -


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