Click here to Skip to main content
15,893,814 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: faster method of bitmap reading Pin
Remco Hoogenboezem16-Mar-06 4:03
Remco Hoogenboezem16-Mar-06 4:03 
QuestionDisable the close button Pin
Aryan S16-Mar-06 0:59
Aryan S16-Mar-06 0:59 
AnswerRe: Disable the close button Pin
Nibu babu thomas16-Mar-06 1:22
Nibu babu thomas16-Mar-06 1:22 
AnswerRe: Disable the close button Pin
Karim Mribti16-Mar-06 1:26
Karim Mribti16-Mar-06 1:26 
QuestionExcel Automation in vc++ Pin
ledallam16-Mar-06 0:54
ledallam16-Mar-06 0:54 
AnswerRe: Excel Automation in vc++ Pin
Waldermort16-Mar-06 2:27
Waldermort16-Mar-06 2:27 
QuestionQuestion ... Pin
HakunaMatada15-Mar-06 23:27
HakunaMatada15-Mar-06 23:27 
AnswerRe: Question ... Pin
toxcct15-Mar-06 23:36
toxcct15-Mar-06 23:36 
it is the default constructor of the class CCheckPoint, which invokes in its initializer list the copy constructors for the members m_cRef and m_pConnection.
it is quite equivalent to this (but not equal though) :
CCheckPoint() {
    this->m_cRef = ULONG(0);
    this->m_pConnection = (IConnection*)NULL;
}

the constructors initializer list is particularly mandatory when initializing constant data members which cannot be assigned in the constructor body.
it is also useful when a class inherits from a base class. the base class members must be initialized before the members of the child. the initialization list can so be used to call the base class constructor :
class A {
    int m_i;
 
  public:
    A(void) : m_i(0) { }
    A(const A& a) : m_i(a.m_i) { }
    A(int i) : m_i(i) { }
};
 
 
class B : public A {
  public:
    B() : A() { }
    B(const B& b) : A(b) { }
};

GeneralRe: Question ... Pin
HakunaMatada15-Mar-06 23:59
HakunaMatada15-Mar-06 23:59 
GeneralRe: Question ... Pin
Eytukan16-Mar-06 1:50
Eytukan16-Mar-06 1:50 
AnswerRe: Question ... Pin
Nibu babu thomas15-Mar-06 23:37
Nibu babu thomas15-Mar-06 23:37 
GeneralRe: Question ... Pin
HakunaMatada16-Mar-06 0:08
HakunaMatada16-Mar-06 0:08 
AnswerRe: Question ... Pin
Naveen15-Mar-06 23:39
Naveen15-Mar-06 23:39 
GeneralRe: Question ... Pin
HakunaMatada16-Mar-06 0:09
HakunaMatada16-Mar-06 0:09 
Questionadding controls in onpaint Pin
Tarek Jabri15-Mar-06 23:03
Tarek Jabri15-Mar-06 23:03 
AnswerRe: adding controls in onpaint Pin
Cedric Moonen15-Mar-06 23:09
Cedric Moonen15-Mar-06 23:09 
AnswerRe: adding controls in onpaint Pin
Hamid_RT15-Mar-06 23:19
Hamid_RT15-Mar-06 23:19 
GeneralRe: adding controls in onpaint Pin
Tarek Jabri15-Mar-06 23:38
Tarek Jabri15-Mar-06 23:38 
GeneralRe: adding controls in onpaint Pin
toxcct15-Mar-06 23:58
toxcct15-Mar-06 23:58 
GeneralRe: adding controls in onpaint Pin
Hamid_RT16-Mar-06 0:02
Hamid_RT16-Mar-06 0:02 
AnswerRe: adding controls in onpaint Pin
Maximilien16-Mar-06 3:01
Maximilien16-Mar-06 3:01 
QuestionWhy font size is specified as 8, 10, 12, 14... Pin
Nishad S15-Mar-06 22:38
Nishad S15-Mar-06 22:38 
AnswerRe: Why font size is specified as 8, 10, 12, 14... Pin
Chris Losinger16-Mar-06 2:07
professionalChris Losinger16-Mar-06 2:07 
GeneralRe: Why font size is specified as 8, 10, 12, 14... Pin
Nishad S16-Mar-06 16:19
Nishad S16-Mar-06 16:19 
QuestionListView in vc++ 6.0 Pin
pankajgarg1215-Mar-06 22:10
pankajgarg1215-Mar-06 22:10 

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.