Re: [Dev-C++] pointers to member functions
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: <gen...@ya...> - 2004-05-13 15:42:12
|
AFAIK - A Far A I Know. lol you can make it protected in the parent class, and use an accessor method to call it. if you inherit as public, it remains protected in the child class. (protected is much like private, except derived classes can access them. derived classes cannot access private members). if you inherit as private, everything inherited (public and protected members) become private to the derived class. have phun ____________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html |