Click here to Skip to main content
15,904,155 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDesiging in C Pin
Member 1138854120-Jan-15 3:00
Member 1138854120-Jan-15 3:00 
AnswerRe: Desiging in C Pin
CPallini20-Jan-15 3:49
mveCPallini20-Jan-15 3:49 
AnswerRe: Desiging in C Pin
Richard Andrew x6420-Jan-15 4:24
professionalRichard Andrew x6420-Jan-15 4:24 
GeneralRe: Desiging in C Pin
CPallini20-Jan-15 4:37
mveCPallini20-Jan-15 4:37 
GeneralRe: Desiging in C Pin
Richard Andrew x6420-Jan-15 4:46
professionalRichard Andrew x6420-Jan-15 4:46 
GeneralRe: Desiging in C Pin
CPallini20-Jan-15 5:09
mveCPallini20-Jan-15 5:09 
GeneralRe: Desiging in C Pin
Albert Holguin20-Jan-15 6:52
professionalAlbert Holguin20-Jan-15 6:52 
SuggestionRe: Desiging in C Pin
David Crow20-Jan-15 4:06
David Crow20-Jan-15 4:06 
AnswerRe: Desiging in C Pin
Richard MacCutchan20-Jan-15 5:42
mveRichard MacCutchan20-Jan-15 5:42 
QuestionAdding a second recent file list to the MFC ribbon bar Pin
Leif Simon Goodwin19-Jan-15 23:18
Leif Simon Goodwin19-Jan-15 23:18 
AnswerRe: Adding a second recent file list to the MFC ribbon bar Pin
Leif Simon Goodwin23-Jan-15 0:23
Leif Simon Goodwin23-Jan-15 0:23 
GeneralRe: Adding a second recent file list to the MFC ribbon bar Pin
Leif Simon Goodwin25-Jan-15 22:45
Leif Simon Goodwin25-Jan-15 22:45 
QuestionC++ class initialization Pin
Vaclav_19-Jan-15 14:32
Vaclav_19-Jan-15 14:32 
AnswerRe: C++ class initialization Pin
Jochen Arndt19-Jan-15 21:18
professionalJochen Arndt19-Jan-15 21:18 
GeneralRe: C++ class initialization Pin
David A. Gray8-Apr-15 20:25
David A. Gray8-Apr-15 20:25 
GeneralRe: C++ class initialization Pin
Jochen Arndt8-Apr-15 20:51
professionalJochen Arndt8-Apr-15 20:51 
GeneralRe: C++ class initialization Pin
David A. Gray9-Apr-15 11:05
David A. Gray9-Apr-15 11:05 
AnswerRe: C++ class initialization Pin
CPallini20-Jan-15 1:52
mveCPallini20-Jan-15 1:52 
AnswerRe: C++ class initialization Pin
Albert Holguin20-Jan-15 4:40
professionalAlbert Holguin20-Jan-15 4:40 
GeneralRe: C++ class initialization Pin
Vaclav_20-Jan-15 6:22
Vaclav_20-Jan-15 6:22 
GeneralRe: C++ class initialization Pin
Albert Holguin20-Jan-15 6:50
professionalAlbert Holguin20-Jan-15 6:50 
GeneralRe: C++ class initialization Pin
Vaclav_20-Jan-15 16:43
Vaclav_20-Jan-15 16:43 
GeneralRe: C++ class initialization Pin
Albert Holguin21-Jan-15 3:14
professionalAlbert Holguin21-Jan-15 3:14 
GeneralRe: C++ class initialization Pin
Vaclav_21-Jan-15 16:00
Vaclav_21-Jan-15 16:00 
GeneralRe: C++ class initialization Pin
CPallini20-Jan-15 7:56
mveCPallini20-Jan-15 7:56 
Quote:
The compiler may or may not initialize for you, but why risk it.

That is not exactly true. The C++ standard specify that such variables 'shall be zero-initialized', hence no risk, unless the compiler is not compliant.

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.