Click here to Skip to main content
16,007,163 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to close A particular instance with WM_CLOSE Pin
Naveen5-Mar-09 19:15
Naveen5-Mar-09 19:15 
AnswerRe: How to close A particular instance with WM_CLOSE Pin
«_Superman_»5-Mar-09 19:33
professional«_Superman_»5-Mar-09 19:33 
QuestionVC2008 IDE enviornment showing 2 files with same name Pin
VCProgrammer5-Mar-09 18:39
VCProgrammer5-Mar-09 18:39 
Questionlinking of MFC dialog based application with Resource DLL Pin
Purish Dwivedi5-Mar-09 17:48
Purish Dwivedi5-Mar-09 17:48 
AnswerRe: linking of MFC dialog based application with Resource DLL Pin
«_Superman_»5-Mar-09 18:00
professional«_Superman_»5-Mar-09 18:00 
QuestionRe: linking of MFC dialog based application with Resource DLL Pin
Purish Dwivedi5-Mar-09 18:23
Purish Dwivedi5-Mar-09 18:23 
QuestionCalling child class methods from parent class pointers Pin
mjackson115-Mar-09 17:41
mjackson115-Mar-09 17:41 
AnswerRe: Calling child class methods from parent class pointers Pin
«_Superman_»5-Mar-09 17:48
professional«_Superman_»5-Mar-09 17:48 
Since you are using the base class pointer to call the functions, those functions must exist as virtual or pure virtual in the base class.

In the derived classes, you must override whatever virtual functions are needed. In the case of pure virtual functions, it is mandatory that you implement this in the derived classes.

So instead of having dummy implementations is several derived classes, have a dummy implementation in the base class and don't make it pure virtual.

«_Superman
I love work. It gives me something to do between weekends.

GeneralRe: Calling child class methods from parent class pointers Pin
mjackson116-Mar-09 4:59
mjackson116-Mar-09 4:59 
Questionstring class help needed Pin
CHYGO5-Mar-09 16:36
CHYGO5-Mar-09 16:36 
AnswerRe: string class help needed Pin
Naveen5-Mar-09 16:52
Naveen5-Mar-09 16:52 
GeneralRe: string class help needed Pin
CHYGO5-Mar-09 19:45
CHYGO5-Mar-09 19:45 
GeneralRe: string class help needed Pin
CHYGO5-Mar-09 20:18
CHYGO5-Mar-09 20:18 
GeneralRe: string class help needed Pin
Naveen5-Mar-09 20:22
Naveen5-Mar-09 20:22 
GeneralRe: string class help needed Pin
CHYGO5-Mar-09 21:06
CHYGO5-Mar-09 21:06 
GeneralRe: string class help needed Pin
David Crow6-Mar-09 3:31
David Crow6-Mar-09 3:31 
QuestionIs Volume online and ready? Pin
Peter Weyzen5-Mar-09 14:59
Peter Weyzen5-Mar-09 14:59 
QuestionRational Number constructor Pin
aab199025-Mar-09 13:20
aab199025-Mar-09 13:20 
AnswerRe: Rational Number constructor Pin
Cedric Moonen5-Mar-09 20:22
Cedric Moonen5-Mar-09 20:22 
QuestionRe: Rational Number constructor Pin
CPallini5-Mar-09 21:09
mveCPallini5-Mar-09 21:09 
QuestionRe: Rational Number constructor Pin
David Crow6-Mar-09 3:40
David Crow6-Mar-09 3:40 
QuestionIterating string to add escape sequence. Pin
mmayur5-Mar-09 11:27
mmayur5-Mar-09 11:27 
AnswerRe: Iterating string to add escape sequence. Pin
«_Superman_»5-Mar-09 17:22
professional«_Superman_»5-Mar-09 17:22 
QuestionRe: Iterating string to add escape sequence. Pin
David Crow6-Mar-09 3:43
David Crow6-Mar-09 3:43 
QuestionFirst C++ class Pin
aab199025-Mar-09 11:18
aab199025-Mar-09 11:18 

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.