Click here to Skip to main content
15,887,135 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to make a derived CEdit more perfect? Pin
whiteclouds29-Apr-10 1:42
whiteclouds29-Apr-10 1:42 
QuestionCEGUI related issues Pin
pointSX201027-Apr-10 21:33
pointSX201027-Apr-10 21:33 
AnswerRe: CEGUI related issues Pin
hanq_3891013027-Apr-10 21:50
hanq_3891013027-Apr-10 21:50 
GeneralRe: CEGUI related issues Pin
pointSX201028-Apr-10 15:41
pointSX201028-Apr-10 15:41 
AnswerRe: CEGUI related issues Pin
Eugen Podsypalnikov28-Apr-10 1:33
Eugen Podsypalnikov28-Apr-10 1:33 
GeneralRe: CEGUI related issues Pin
pointSX201028-Apr-10 15:48
pointSX201028-Apr-10 15:48 
QuestionHow does this template work Pin
AkashAg27-Apr-10 20:39
AkashAg27-Apr-10 20:39 
AnswerRe: How does this template work PinPopular
Cedric Moonen27-Apr-10 20:48
Cedric Moonen27-Apr-10 20:48 
Basically your problem is resumed to something like this:
A* a = NULL;
a->func1();


In fact, the code will not crash in such scenario because you do not access any member variable of the class. Class methods are similar to global function except that they take an additional implicit parameter: the 'this' pointer (in your case it will be NULL). So, as long as you don't access any class variable, the code will not crash. Try now to print the value of 'i' in func1 and you'll that the code will crash.
Cédric Moonen
Software developer

Charting control [v3.0]
OpenGL game tutorial in C++

AnswerRe: How does this template work Pin
CPallini27-Apr-10 20:48
mveCPallini27-Apr-10 20:48 
GeneralRe: How does this template work Pin
AkashAg27-Apr-10 21:13
AkashAg27-Apr-10 21:13 
GeneralRe: How does this template work [modified] Pin
CPallini27-Apr-10 21:18
mveCPallini27-Apr-10 21:18 
GeneralRe: How does this template work Pin
Cedric Moonen27-Apr-10 21:28
Cedric Moonen27-Apr-10 21:28 
GeneralRe: How does this template work PinPopular
Emilio Garavaglia28-Apr-10 1:47
Emilio Garavaglia28-Apr-10 1:47 
GeneralRe: How does this template work Pin
Cedric Moonen28-Apr-10 1:52
Cedric Moonen28-Apr-10 1:52 
GeneralRe: How does this template work Pin
Richard MacCutchan28-Apr-10 3:40
mveRichard MacCutchan28-Apr-10 3:40 
GeneralRe: How does this template work Pin
Cedric Moonen28-Apr-10 3:58
Cedric Moonen28-Apr-10 3:58 
GeneralRe: How does this template work Pin
Richard MacCutchan28-Apr-10 5:41
mveRichard MacCutchan28-Apr-10 5:41 
AnswerRe: How does this template work Pin
hanq_3891013027-Apr-10 21:00
hanq_3891013027-Apr-10 21:00 
QuestionSetup and Deplyment Project : Running external exe Pin
TechAvtar27-Apr-10 19:55
TechAvtar27-Apr-10 19:55 
AnswerRe: Setup and Deplyment Project : Running external exe Pin
hanq_3891013027-Apr-10 21:12
hanq_3891013027-Apr-10 21:12 
GeneralRe: Setup and Deplyment Project : Running external exe Pin
TechAvtar27-Apr-10 22:58
TechAvtar27-Apr-10 22:58 
QuestionExcel Open Pin
rdop27-Apr-10 19:45
rdop27-Apr-10 19:45 
QuestionRe: Excel Open Pin
CPallini27-Apr-10 20:30
mveCPallini27-Apr-10 20:30 
AnswerRe: Excel Open Pin
rdop27-Apr-10 20:50
rdop27-Apr-10 20:50 
GeneralRe: Excel Open Pin
CPallini27-Apr-10 21:14
mveCPallini27-Apr-10 21:14 

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.