Click here to Skip to main content
15,914,070 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
General[HELP!] Timer function or class with timer interval over 0x7fffffff Pin
Takanobu Maekawa18-Apr-04 21:07
Takanobu Maekawa18-Apr-04 21:07 
GeneralRe: [HELP!] Timer function or class with timer interval over 0x7fffffff Pin
Monty218-Apr-04 21:22
Monty218-Apr-04 21:22 
GeneralRe: [HELP!] Timer function or class with timer interval over 0x7fffffff Pin
toxcct18-Apr-04 21:29
toxcct18-Apr-04 21:29 
GeneralRe: [HELP!] Timer function or class with timer interval over 0x7fffffff Pin
wb18-Apr-04 22:09
wb18-Apr-04 22:09 
GeneralRe: [HELP!] Timer function or class with timer interval over 0x7fffffff Pin
David Crow19-Apr-04 5:27
David Crow19-Apr-04 5:27 
GeneralDirectX Pin
babai18-Apr-04 21:00
babai18-Apr-04 21:00 
GeneralRe: DirectX Pin
jmkhael18-Apr-04 22:06
jmkhael18-Apr-04 22:06 
Generalcopy constructor of a derived class Pin
Jerome Conus18-Apr-04 20:23
Jerome Conus18-Apr-04 20:23 
Hi !

I'm facing a simple problem but couldn't find any clear answer on the net.

I have a class B which is derived from class A. I want to write a copy constructor for class B. In the copy constructor of class B, I copy each member of class B, and I thought that the default copy constructor of class A would be automatically called, which apparently is not the case.

How do make sure the copy constructor of the base class (and of the whole hierarchy) is called ?

Thanks for your help !
Jerome
GeneralRe: copy constructor of a derived class Pin
Balkrishna Talele18-Apr-04 20:52
Balkrishna Talele18-Apr-04 20:52 
GeneralRe: copy constructor of a derived class Pin
Jiten D. Gandhi18-Apr-04 20:57
Jiten D. Gandhi18-Apr-04 20:57 
GeneralRe: copy constructor of a derived class Pin
toxcct18-Apr-04 21:23
toxcct18-Apr-04 21:23 
QuestionHow shall i use the DLL Pin
NewtonOfComputers18-Apr-04 19:58
NewtonOfComputers18-Apr-04 19:58 
AnswerRe: How shall i use the DLL Pin
Balkrishna Talele18-Apr-04 20:30
Balkrishna Talele18-Apr-04 20:30 
GeneralVirtual COM Port to USB Pin
Daryl Ng18-Apr-04 19:45
sussDaryl Ng18-Apr-04 19:45 
GeneralRe: Virtual COM Port to USB Pin
Antony M Kancidrowski19-Apr-04 4:17
Antony M Kancidrowski19-Apr-04 4:17 
GeneralWinXP and ATL-CTRL-DEL and GDI problem Pin
Balkrishna Talele18-Apr-04 19:17
Balkrishna Talele18-Apr-04 19:17 
GeneralRe: WinXP and ATL-CTRL-DEL and GDI problem Pin
Blake Miller19-Apr-04 8:46
Blake Miller19-Apr-04 8:46 
GeneralRe: WinXP and ATL-CTRL-DEL and GDI problem Pin
Balkrishna Talele19-Apr-04 18:11
Balkrishna Talele19-Apr-04 18:11 
GeneralCHM viewer window Pin
soggie18-Apr-04 17:23
soggie18-Apr-04 17:23 
GeneralReversi source code Pin
Anonymous18-Apr-04 16:34
Anonymous18-Apr-04 16:34 
GeneralRe: Reversi source code Pin
parths18-Apr-04 17:44
parths18-Apr-04 17:44 
GeneralAbout *.lib and *.dll Pin
_David_Lee_18-Apr-04 16:04
_David_Lee_18-Apr-04 16:04 
GeneralRe: About *.lib and *.dll Pin
Hesham Amin18-Apr-04 22:14
Hesham Amin18-Apr-04 22:14 
QuestionGot CodeBlock? Pin
Dassatar18-Apr-04 15:29
Dassatar18-Apr-04 15:29 
AnswerRe: Got CodeBlock? Pin
soggie18-Apr-04 19:30
soggie18-Apr-04 19: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.