Click here to Skip to main content
15,867,997 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Considerations and implementation of a method to copy the vector::iterator Pin
Stuart Dootson23-Jun-09 10:33
professionalStuart Dootson23-Jun-09 10:33 
GeneralRe: Considerations and implementation of a method to copy the vector::iterator [modified] Pin
Michael Dunn23-Jun-09 14:41
sitebuilderMichael Dunn23-Jun-09 14:41 
GeneralRe: Considerations and implementation of a method to copy the vector::iterator Pin
Cyrilix23-Jun-09 15:03
Cyrilix23-Jun-09 15:03 
Questiontransfer date time string to SYSTEMTIME Pin
includeh1023-Jun-09 6:44
includeh1023-Jun-09 6:44 
AnswerRe: transfer date time string to SYSTEMTIME Pin
Jijo.Raj23-Jun-09 7:02
Jijo.Raj23-Jun-09 7:02 
AnswerRe: transfer date time string to SYSTEMTIME Pin
Stuart Dootson23-Jun-09 7:12
professionalStuart Dootson23-Jun-09 7:12 
Question[SOLVED] Need help with WinAPI AlphaBlend() [modified] Pin
Rozis23-Jun-09 6:06
Rozis23-Jun-09 6:06 
Questionbase or super-like functionality in C++? Pin
Michael P. Scherer23-Jun-09 5:35
Michael P. Scherer23-Jun-09 5:35 
I've been working in C# and Java for a while, with only a little experience in using C++, and I'm having a little trouble finding information on if there is anything like base or super in C++. If for example I have this:

class foo {
 public:
  virtual void myMethod() { cout << "this part is in foo" << endl; }
};

class bar : public foo {
 public:
  void myMethod() { base.myMethod(); cout << "\tthis part is in bar" << endl; }
};


Such that, base.myMethod() would perform the tasks of myMethod() in the base class, and then it would carry out the new implementation from there; is anything like this possible in C++?

thanks!


AnswerRe: base or super-like functionality in C++? Pin
Fernando A. Gomez F.23-Jun-09 6:04
Fernando A. Gomez F.23-Jun-09 6:04 
GeneralRe: base or super-like functionality in C++? Pin
Michael P. Scherer23-Jun-09 6:09
Michael P. Scherer23-Jun-09 6:09 
AnswerRe: base or super-like functionality in C++? Pin
Nemanja Trifunovic23-Jun-09 6:17
Nemanja Trifunovic23-Jun-09 6:17 
AnswerRe: base or super-like functionality in C++? Pin
Stuart Dootson23-Jun-09 6:54
professionalStuart Dootson23-Jun-09 6:54 
Questionhow to save image from webBrowser Control Pin
voo doo1223-Jun-09 5:32
voo doo1223-Jun-09 5:32 
QuestionSetFont at Runtime Pin
p_196023-Jun-09 5:15
p_196023-Jun-09 5:15 
Questionhow to replace " with \" Pin
Ash_VCPP23-Jun-09 4:31
Ash_VCPP23-Jun-09 4:31 
AnswerRe: how to replace " with \" Pin
led mike23-Jun-09 4:37
led mike23-Jun-09 4:37 
AnswerRe: how to replace " with \" Pin
«_Superman_»23-Jun-09 4:54
professional«_Superman_»23-Jun-09 4:54 
QuestionMemory Leak Help Pin
OrangeV23-Jun-09 3:50
OrangeV23-Jun-09 3:50 
AnswerRe: Memory Leak Help Pin
«_Superman_»23-Jun-09 4:02
professional«_Superman_»23-Jun-09 4:02 
AnswerRe: Memory Leak Help Pin
Stuart Dootson23-Jun-09 4:20
professionalStuart Dootson23-Jun-09 4:20 
AnswerRe: Memory Leak Help Pin
Maximilien23-Jun-09 4:31
Maximilien23-Jun-09 4:31 
GeneralRe: Memory Leak Help Pin
OrangeV23-Jun-09 4:44
OrangeV23-Jun-09 4:44 
GeneralRe: Memory Leak Help Pin
Stuart Dootson23-Jun-09 5:31
professionalStuart Dootson23-Jun-09 5:31 
AnswerRe: Memory Leak Help Pin
Pavan_Putra25-Jun-09 20:00
Pavan_Putra25-Jun-09 20:00 
QuestionUnicode again Pin
bhanu_850923-Jun-09 3:39
bhanu_850923-Jun-09 3:39 

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.