From: "mpt" Newsgroups: comp.os.msdos.djgpp Subject: Re: can this thing do virtual functions or not? Date: Fri, 15 Jan 1999 13:51:24 -0000 Organization: uwcc Lines: 27 Message-ID: <77nh4t$31h$1@fafnir.cf.ac.uk> References: <77fo8o$22v$1 AT loki DOT cf DOT ac DOT uk> <19990114021424 DOT 25333 DOT 00004847 AT ngol02 DOT aol DOT com> NNTP-Posting-Host: lab13.cs.cf.ac.uk X-Trace: fafnir.cf.ac.uk 916408285 3121 131.251.42.53 (15 Jan 1999 13:51:25 GMT) X-Complaints-To: abuse AT cf DOT ac DOT uk NNTP-Posting-Date: 15 Jan 1999 13:51:25 GMT X-Newsreader: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Cheers, man. Thanks for helping out the new guy. Take care, M GSM77 wrote in message <19990114021424 DOT 25333 DOT 00004847 AT ngol02 DOT aol 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