Click here to Skip to main content
15,924,935 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: George, again in the recursive trap Pin
CPallini18-Mar-08 0:39
mveCPallini18-Mar-08 0:39 
GeneralRe: George, again in the recursive trap Pin
George_George18-Mar-08 1:02
George_George18-Mar-08 1:02 
GeneralRe: George, again in the recursive trap Pin
CPallini18-Mar-08 1:34
mveCPallini18-Mar-08 1:34 
GeneralRe: George, again in the recursive trap Pin
George_George18-Mar-08 1:50
George_George18-Mar-08 1:50 
Generalcall base class function or derived class function Pin
George_George16-Mar-08 16:03
George_George16-Mar-08 16:03 
GeneralRe: call base class function or derived class function Pin
Rajkumar R16-Mar-08 19:15
Rajkumar R16-Mar-08 19:15 
GeneralRe: call base class function or derived class function Pin
George_George16-Mar-08 19:49
George_George16-Mar-08 19:49 
GeneralRe: call base class function or derived class function Pin
Rajkumar R16-Mar-08 21:02
Rajkumar R16-Mar-08 21:02 
What change it seems same to me.

I mean yes it is the instance of Goo, but not only because this the object of Goo, it is because that foo is a virtual function. Since foo is a virtual function in class Foo it is bind at runtime to the final derived class Goo::foo. Lot of useful features using this feature of polymorphism. Base class can call the derive class function without knowing the derived class type, Callbacks in MFC like CWinThread::InitInstance is implemented using this feature that Developer of the library doenot know which is the class user going to create CMyWinThread derived class of CWinThread and overriding the InitInstance causes CMyWinThread::InitInstance is called back at CWinThread class.
GeneralRe: call base class function or derived class function Pin
George_George16-Mar-08 21:22
George_George16-Mar-08 21:22 
GeneralRe: call base class function or derived class function Pin
Rajkumar R16-Mar-08 21:43
Rajkumar R16-Mar-08 21:43 
GeneralRe: call base class function or derived class function Pin
George_George16-Mar-08 21:46
George_George16-Mar-08 21:46 
Generalendl(cout) or any manipulator(cout) Pin
pourang16-Mar-08 8:31
pourang16-Mar-08 8:31 
GeneralRe: endl(cout) or any manipulator(cout) Pin
Naveen16-Mar-08 14:18
Naveen16-Mar-08 14:18 
GeneralRe: endl(cout) or any manipulator(cout) Pin
pourang16-Mar-08 23:42
pourang16-Mar-08 23:42 
GeneralRe: endl(cout) or any manipulator(cout) Pin
Michael Dunn16-Mar-08 14:23
sitebuilderMichael Dunn16-Mar-08 14:23 
GeneralRe: endl(cout) or any manipulator(cout) Pin
pourang16-Mar-08 23:38
pourang16-Mar-08 23:38 
GeneralScan bluetooth devices in c++ and exporting the function to c# Pin
BlueDoorman16-Mar-08 6:02
BlueDoorman16-Mar-08 6:02 
QuestionDump file for running application Pin
Kishore JP16-Mar-08 1:09
Kishore JP16-Mar-08 1:09 
GeneralRe: Dump file for running application Pin
Cedric Moonen16-Mar-08 2:16
Cedric Moonen16-Mar-08 2:16 
GeneralRe: Dump file for running application Pin
Randor 16-Mar-08 5:48
professional Randor 16-Mar-08 5:48 
GeneralRe: Dump file for running application Pin
Kishore JP16-Mar-08 16:28
Kishore JP16-Mar-08 16:28 
GeneralRe: Dump file for running application Pin
cagespear16-Mar-08 18:43
cagespear16-Mar-08 18:43 
Generalc++ Pin
kamarlonaire16-Mar-08 0:49
kamarlonaire16-Mar-08 0:49 
GeneralRe: c++ PinPopular
Cranky16-Mar-08 1:13
Cranky16-Mar-08 1:13 
GeneralRe: c++ Pin
Eytukan17-Mar-08 6:38
Eytukan17-Mar-08 6:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.