delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/14/12:25:32

Message-ID: <378CB349.EFAAD8A0@geocities.com>
From: Sahab Yazdani <beyonder69 AT geocities DOT com>
X-Mailer: Mozilla 4.51 [en] (Win98; I)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: C++ virtual definitions
Lines: 7
Date: Wed, 14 Jul 1999 11:56:57 -0400
NNTP-Posting-Host: 209.103.48.110
X-Complaints-To: abuse AT sprint DOT ca
X-Trace: newscontent-01.sprint.ca 931967881 209.103.48.110 (Wed, 14 Jul 1999 11:58:01 EDT)
NNTP-Posting-Date: Wed, 14 Jul 1999 11:58:01 EDT
Organization: Sprint Canada Inc.
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

okay I have a question about the C++ class model (who doesn't), lets say
I make a class that contains one or more virtual functions, and the
class has dome properties (variables).  Later I want to make an
inheritance class that only re-writes one of the virtual functions.  I
tried doing this with DJGPP, but it didn't quite work out as I had
planned and the compiler gave me errors galore about the quality of my
code. Could someone please send me code snipets on how I do this??

- Raw text -


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