Click here to Skip to main content
16,011,120 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Exporting to Excel... Pin
Carlos Antollini11-Mar-02 5:22
Carlos Antollini11-Mar-02 5:22 
GeneralRe: Exporting to Excel... Pin
perlmunger18-May-02 16:50
perlmunger18-May-02 16:50 
Generalcommunication with LPT1 Pin
Kshav10-Mar-02 22:45
Kshav10-Mar-02 22:45 
GeneralRe: communication with LPT1 Pin
Joaquín M López Muñoz10-Mar-02 22:53
Joaquín M López Muñoz10-Mar-02 22:53 
Generalclass initialize problem Pin
10-Mar-02 22:24
suss10-Mar-02 22:24 
GeneralRe: class initialize problem Pin
Joaquín M López Muñoz10-Mar-02 22:25
Joaquín M López Muñoz10-Mar-02 22:25 
GeneralRe: class initialize problem Pin
10-Mar-02 22:45
suss10-Mar-02 22:45 
GeneralRe: class initialize problem Pin
Joaquín M López Muñoz10-Mar-02 23:09
Joaquín M López Muñoz10-Mar-02 23:09 
No, the only way to initialize base class(es) of a given class is by using the constructors provided by the class1. This has some motivation, though: it is the responsibilty of a class to maintain internal consistency among its members and base classes, so it is wise to let this class restrain construction of base classes (and even access, for that matter) to implement the particular logic suitable for the context in which these subobjects are used.

1When defining a ctor for a class, under certain special circumnstances (namely virtual derivation) you can directly call constructors from classes that are not direct bases but rather lie farther up the hierarchy. This is a rather messy subject, though, and often it doesn't work as first expected.

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
GeneralMFC & Flowcharts Pin
10-Mar-02 21:50
suss10-Mar-02 21:50 
GeneralAaargh!! SS_NOTIFY Pin
Rickard Andersson2010-Mar-02 21:27
Rickard Andersson2010-Mar-02 21:27 
GeneralRe: Aaargh!! SS_NOTIFY Pin
Joaquín M López Muñoz10-Mar-02 21:36
Joaquín M López Muñoz10-Mar-02 21:36 
GeneralRe: Aaargh!! SS_NOTIFY Pin
Rickard Andersson2010-Mar-02 21:40
Rickard Andersson2010-Mar-02 21:40 
GeneralRe: Aaargh!! SS_NOTIFY Pin
Nish Nishant10-Mar-02 21:36
sitebuilderNish Nishant10-Mar-02 21:36 
GeneralRe: Aaargh!! SS_NOTIFY Pin
Rickard Andersson2010-Mar-02 21:40
Rickard Andersson2010-Mar-02 21:40 
GeneralRe: Aaargh!! SS_NOTIFY Pin
Nish Nishant10-Mar-02 21:45
sitebuilderNish Nishant10-Mar-02 21:45 
GeneralRe: Aaargh!! SS_NOTIFY Pin
Mazdak10-Mar-02 21:40
Mazdak10-Mar-02 21:40 
GeneralRe: Aaargh!! SS_NOTIFY Pin
Nish Nishant10-Mar-02 21:43
sitebuilderNish Nishant10-Mar-02 21:43 
GeneralRe: Aaargh!! SS_NOTIFY Pin
Joaquín M López Muñoz10-Mar-02 21:55
Joaquín M López Muñoz10-Mar-02 21:55 
GeneralRe: Aaargh!! SS_NOTIFY Pin
Mazdak10-Mar-02 22:02
Mazdak10-Mar-02 22:02 
QuestionIs allocated`????? Pin
Rickard Andersson2010-Mar-02 20:39
Rickard Andersson2010-Mar-02 20:39 
AnswerRe: Is allocated`????? Pin
Jeason Zhao10-Mar-02 20:43
Jeason Zhao10-Mar-02 20:43 
GeneralRe: Is allocated`????? Pin
Rickard Andersson2010-Mar-02 21:17
Rickard Andersson2010-Mar-02 21:17 
GeneralRe: Is allocated`????? Pin
Joaquín M López Muñoz10-Mar-02 21:18
Joaquín M López Muñoz10-Mar-02 21:18 
GeneralRe: Is allocated`????? Pin
Rickard Andersson2010-Mar-02 21:26
Rickard Andersson2010-Mar-02 21:26 
GeneralRe: Is allocated`????? Pin
Joaquín M López Muñoz10-Mar-02 21:30
Joaquín M López Muñoz10-Mar-02 21:30 

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.