Slimelite BBS

display 640x480x256 pic?

Back to EMULATE

From Darin McBride · 1996-04-05 01:27 · #73611 in EMULATE

 dn> to deal with sometimes. I just hope the equally inexperienced readers
 dn> out there are able to see the misinformation for what it is.

 dn> Perhaps we should derive a class and learn a lesson from it. :-)

 dn> (Hey, I had to get it back on topic somehow, right? ;-D)

 JC> Right.  Thanks. <G>

 JC> class misinformation {
 JC> };

 JC> class lesson {
 JC>     misinformation background;

 JC> };

 JC> Clearly we can't derive a class from it, since hopefully the lesson
 JC> won't itself be misinformation...


Obviously you did it wrong.

class dreaming {
  virtual void say() { cout << "I can do it!" << endl; }
};

class lesson : public dreaming {
  virtual void say() { dreaming::say(); cout << "(Or so he thought...)" << endl; }
};

So, you see, if you rework your lesson design, you can, indeed, teach proper lessons.  ;-}


--- Maximus/2 3.01
 * Origin: Tanktalus' Tower BBS (PVT) (1:342/708)