View Single Post
Join Date: Dec 2007
Posts: 439
Reputation: Agni is a jewel in the rough Agni is a jewel in the rough Agni is a jewel in the rough 
Solved Threads: 68
Sponsor
Agni's Avatar
Agni Agni is offline Offline
Posting Pro in Training

Re: virtual class with friend functions

 
0
  #2
Dec 1st, 2008
comment out

  1. virtual void mission();
and try

and give different names for base class and derived class 'name' variable to see the difference.
thanks
-chandra
Reply With Quote