Click here to Skip to main content
15,905,590 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Singletone Design Pattern Pin
G Haranadh30-May-06 7:45
G Haranadh30-May-06 7:45 
QuestionCImage linker problems. Please help! Pin
Rostfrei29-May-06 7:53
Rostfrei29-May-06 7:53 
AnswerRe: CImage linker problems. Please help! Pin
Chris Losinger29-May-06 8:21
professionalChris Losinger29-May-06 8:21 
GeneralRe: CImage linker problems. Please help! Pin
Rostfrei29-May-06 10:45
Rostfrei29-May-06 10:45 
GeneralRe: CImage linker problems. Please help! Pin
G Haranadh29-May-06 18:56
G Haranadh29-May-06 18:56 
QuestionVisual C++ COM Wrapper .NET and VB6 Pin
Dave_Roach29-May-06 6:08
Dave_Roach29-May-06 6:08 
AnswerRe: Visual C++ COM Wrapper .NET and VB6 Pin
Milton Karimbekallil29-May-06 6:46
Milton Karimbekallil29-May-06 6:46 
GeneralRe: Visual C++ COM Wrapper .NET and VB6 Pin
Dave_Roach29-May-06 6:53
Dave_Roach29-May-06 6:53 
QuestionData Accessing from a flexgrid control Pin
radhika2829-May-06 4:39
radhika2829-May-06 4:39 
QuestionCSpinButtonCtrl (int) stops at 16960 Pin
evermood29-May-06 4:23
evermood29-May-06 4:23 
AnswerRe: CSpinButtonCtrl (int) stops at 16960 Pin
Chris Losinger29-May-06 5:56
professionalChris Losinger29-May-06 5:56 
GeneralRe: CSpinButtonCtrl (int) stops at 16960 Pin
evermood29-May-06 6:58
evermood29-May-06 6:58 
GeneralRe: CSpinButtonCtrl (int) stops at 16960 Pin
Chris Losinger29-May-06 8:18
professionalChris Losinger29-May-06 8:18 
GeneralRe: CSpinButtonCtrl (int) stops at 16960 Pin
evermood29-May-06 23:12
evermood29-May-06 23:12 
GeneralRe: CSpinButtonCtrl (int) stops at 16960 Pin
Michael Dunn29-May-06 9:26
sitebuilderMichael Dunn29-May-06 9:26 
GeneralRe: CSpinButtonCtrl (int) stops at 16960->it works!!! Pin
evermood29-May-06 23:11
evermood29-May-06 23:11 
Questionbase class operations don't call derived class operations Pin
boogalo7929-May-06 4:13
boogalo7929-May-06 4:13 
Hello,

Class 'Base' has abstract operations that I want to call in the 'Base' constructor; the implementation of the abstract operations should be in Class 'Derived'.

It doesn't work. How can I solve this?

I tried the approach of not using abstract base operations as well. Then only the base operations but not the derived operations will be called.

class Base {
 public:
    Base(){
       a();
       b();
    };
    virtual ~Base();
 protected:
    virtual void a() = 0;
    virtual void b() = 0;
};
class Derived {
 protected:
    void a(){ /*implementation a*/ }
    void b(){ /*implementation b*/ }
};

AnswerRe: base class operations don't call derived class operations [modified] Pin
toxcct29-May-06 4:49
toxcct29-May-06 4:49 
GeneralRe: base class operations don't call derived class operations [modified] Pin
boogalo7929-May-06 5:01
boogalo7929-May-06 5:01 
GeneralRe: base class operations don't call derived class operations [modified] Pin
toxcct29-May-06 5:04
toxcct29-May-06 5:04 
AnswerRe: base class operations don't call derived class operations Pin
Niklas L29-May-06 5:13
Niklas L29-May-06 5:13 
GeneralRe: base class operations don't call derived class operations Pin
boogalo7929-May-06 5:31
boogalo7929-May-06 5:31 
GeneralRe: base class operations don't call derived class operations Pin
G Haranadh29-May-06 7:46
G Haranadh29-May-06 7:46 
AnswerRe: base class operations don't call derived class operations [modified] Pin
Stephen Hewitt29-May-06 13:52
Stephen Hewitt29-May-06 13:52 
GeneralRe: base class operations don't call derived class operations [modified] Pin
Member 303984329-May-06 23:07
Member 303984329-May-06 23:07 

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.