Index: [thread] [date] [subject] [author]
  From: Brijal Harshadray Padia <bhp@acpub.duke.edu>
  To  : 
  Date: Thu, 11 Mar 1999 18:51:56 -0500

inheritence

our group is having problems with inheritence,
what we have is a base class option
declared as ...
class Option
{
public:
    virtual void doOption(Scandir & scanner)const = 0;
};

and we have a bunch of other classes inheriting from it.  However, we
know want to be able to pass
in more vars into doOption, so we were wondering if it was possible to
declare two virtual void doOption
functions in Options and then for the subclasses to inherit the
appropriate one.  If so, if someone could please tell us how, we'd
appreciate it.  Thanks,

Brijal Padia



Index: [thread] [date] [subject] [author]