Click here to Skip to main content
15,913,836 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
you have to specifiate it before the body of your function (in its header) :

<font style="color:blue;">class</font> A : <font style="color:blue;">public class</font> B {
    <font style="color:green;">//...</font>
<font style="color:blue;">public:</font>
    A (<font style="color:blue;">const</font> A&);
    <font style="color:green;">//...</font>
}
 
A::A(<font style="color:blue;">const</font> A& refA) : B(<font style="color:green;">/*with member to initalise here*/</font>) {
    <font style="color:green;">//...</font>
}
in fact, the " : B(/*...*/)" expression represent an explicit call to the Base class constructor, so you can now be sure that it is called.



TOXCCT >>> GEII power


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 
GeneralRe: Got CodeBlock? Pin
Balkrishna Talele18-Apr-04 21:22
Balkrishna Talele18-Apr-04 21:22 
GeneralRe: Got CodeBlock? Pin
Dassatar19-Apr-04 2:25
Dassatar19-Apr-04 2:25 
QuestionWhat API do I use to automate IIS manager tasks? Pin
Terry O'Nolley18-Apr-04 12:40
Terry O'Nolley18-Apr-04 12:40 

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.