Click here to Skip to main content
15,896,726 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to make a derived CEdit more perfect? Pin
Eugen Podsypalnikov28-Apr-10 1:48
Eugen Podsypalnikov28-Apr-10 1:48 
GeneralRe: How to make a derived CEdit more perfect? Pin
whiteclouds28-Apr-10 2:06
whiteclouds28-Apr-10 2:06 
GeneralRe: How to make a derived CEdit more perfect? Pin
Eugen Podsypalnikov28-Apr-10 2:14
Eugen Podsypalnikov28-Apr-10 2:14 
GeneralRe: How to make a derived CEdit more perfect? Pin
whiteclouds28-Apr-10 16:39
whiteclouds28-Apr-10 16:39 
GeneralRe: How to make a derived CEdit more perfect? Pin
Eugen Podsypalnikov28-Apr-10 20:00
Eugen Podsypalnikov28-Apr-10 20:00 
GeneralRe: How to make a derived CEdit more perfect? Pin
whiteclouds28-Apr-10 20:20
whiteclouds28-Apr-10 20:20 
GeneralRe: How to make a derived CEdit more perfect? Pin
Eugen Podsypalnikov28-Apr-10 20:31
Eugen Podsypalnikov28-Apr-10 20:31 
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 
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 
akashag wrote:
Does it mean that U can access methods from NULL pointer but not attribute?

Yes, try:
#include <iostream>
using namespace std;

class A
{
public:
  int a;
  A():a(1){}
  void show(){ cout << "The show must go on." << endl; }
  void dump(){ cout << "member value is << " << a << endl;}
};

int main()
{
  A * pA = NULL;
  pA->show();
  pA->dump();
}


[added]
From a OOP point of view (IMHO) this is a point where object abstraction clashes with technical implementation.
[/added]

Smile | :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke

[My articles]
modified on Wednesday, April 28, 2010 3:36 AM

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 

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.