Click here to Skip to main content
15,923,051 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: drawing in a dib file Pin
Dave Calkins27-Aug-06 12:38
Dave Calkins27-Aug-06 12:38 
GeneralRe: drawing in a dib file Pin
hugoiko27-Aug-06 13:58
hugoiko27-Aug-06 13:58 
AnswerRe: drawing in a dib file Pin
Hamid_RT28-Aug-06 7:11
Hamid_RT28-Aug-06 7:11 
QuestionEnter Key killing my dialog [modified] Pin
Ger Hayden25-Aug-06 13:17
Ger Hayden25-Aug-06 13:17 
AnswerRe: Enter Key killing my dialog Pin
RChin25-Aug-06 14:16
RChin25-Aug-06 14:16 
AnswerRe: Enter Key killing my dialog Pin
Justin Tay25-Aug-06 14:21
Justin Tay25-Aug-06 14:21 
Questionthe : operator Pin
Waldermort25-Aug-06 13:10
Waldermort25-Aug-06 13:10 
AnswerRe: the : operator Pin
BadKarma25-Aug-06 13:29
BadKarma25-Aug-06 13:29 
Hi,

I believe you mean the two following occurances


waldermort wrote:
Error::Error(const int nErrCode,char* szErrMess) : mnErrCode(nErrCode)
...
Error::Error(const Error& e) : mnErrCode(e.mnErrCode)


When using the colon ':' after a constructor you open an initialisation list.
This means that member like mnErrCode are initialised with the given error code even before you enter the scope of the constructor.



codito ergo sum

GeneralRe: the : operator Pin
Waldermort25-Aug-06 13:44
Waldermort25-Aug-06 13:44 
GeneralRe: the : operator Pin
Justin Tay25-Aug-06 13:54
Justin Tay25-Aug-06 13:54 
GeneralRe: the : operator Pin
BadKarma25-Aug-06 14:02
BadKarma25-Aug-06 14:02 
GeneralRe: the : operator [modified] Pin
Waldermort25-Aug-06 14:16
Waldermort25-Aug-06 14:16 
QuestionSkinning Pin
BlitzPackage25-Aug-06 12:07
BlitzPackage25-Aug-06 12:07 
AnswerRe: Skinning Pin
Mircea Puiu26-Aug-06 20:22
Mircea Puiu26-Aug-06 20:22 
QuestionSHFileOperation is pissing me off - won't copy just 1 file Pin
AceCoolie25-Aug-06 11:36
AceCoolie25-Aug-06 11:36 
AnswerRe: SHFileOperation is pissing me off - won't copy just 1 file Pin
Waldermort25-Aug-06 13:12
Waldermort25-Aug-06 13:12 
GeneralRe: SHFileOperation is pissing me off - won't copy just 1 file Pin
AceCoolie26-Aug-06 4:48
AceCoolie26-Aug-06 4:48 
AnswerRe: SHFileOperation is pissing me off - won't copy just 1 file Pin
Justin Tay25-Aug-06 14:00
Justin Tay25-Aug-06 14:00 
GeneralRe: SHFileOperation is pissing me off - won't copy just 1 file Pin
AceCoolie26-Aug-06 4:47
AceCoolie26-Aug-06 4:47 
GeneralRe: SHFileOperation is pissing me off - won't copy just 1 file Pin
Justin Tay26-Aug-06 9:43
Justin Tay26-Aug-06 9:43 
QuestionRe: bitmap to clipboard, OLE Pin
mla15425-Aug-06 11:21
mla15425-Aug-06 11:21 
AnswerRe: bitmap to clipboard, OLE Pin
Dave Calkins25-Aug-06 16:30
Dave Calkins25-Aug-06 16:30 
QuestionRe: bitmap to clipboard, OLE [modified] Pin
mla15429-Aug-06 8:36
mla15429-Aug-06 8:36 
QuestionHTML resource file Pin
Demian Panello25-Aug-06 11:21
Demian Panello25-Aug-06 11:21 
AnswerRe: HTML resource file Pin
Gary R. Wheeler25-Aug-06 15:49
Gary R. Wheeler25-Aug-06 15:49 

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.