Click here to Skip to main content
15,886,362 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Signed integers considered harmful? Pin
jeron126-Sep-14 9:17
jeron126-Sep-14 9:17 
GeneralRe: Signed integers considered harmful? Pin
Chris Losinger26-Sep-14 9:22
professionalChris Losinger26-Sep-14 9:22 
GeneralRe: Signed integers considered harmful? Pin
jeron126-Sep-14 9:25
jeron126-Sep-14 9:25 
GeneralRe: Signed integers considered harmful? Pin
Richard Andrew x6426-Sep-14 9:34
professionalRichard Andrew x6426-Sep-14 9:34 
GeneralRe: Signed integers considered harmful? Pin
PIEBALDconsult26-Sep-14 9:45
mvePIEBALDconsult26-Sep-14 9:45 
GeneralRe: Signed integers considered harmful? Pin
harold aptroot26-Sep-14 10:05
harold aptroot26-Sep-14 10:05 
AnswerRe: Signed integers considered harmful? Pin
Richard MacCutchan26-Sep-14 10:14
mveRichard MacCutchan26-Sep-14 10:14 
GeneralRe: Signed integers considered harmful? Pin
harold aptroot26-Sep-14 10:19
harold aptroot26-Sep-14 10:19 
It isn't. See for example 3.4.3 of C99[^],
An example of undefined behavior is the behavior on integer overflow
This does not apply to unsigned integers, which can't overflow because they wrap.

Taking some other standard doesn't help either, as far as I know that's undefined in all version of C and C++ (but I'd really like to be wrong about that).
AnswerRe: Signed integers considered harmful? Pin
CubbiMew29-Sep-14 16:44
CubbiMew29-Sep-14 16:44 
QuestionVector index to iterator Pin
elelont225-Sep-14 23:45
elelont225-Sep-14 23:45 
AnswerRe: Vector index to iterator Pin
«_Superman_»26-Sep-14 0:07
professional«_Superman_»26-Sep-14 0:07 
GeneralRe: Vector index to iterator Pin
elelont226-Sep-14 0:29
elelont226-Sep-14 0:29 
GeneralRe: Vector index to iterator Pin
CPallini26-Sep-14 1:31
mveCPallini26-Sep-14 1:31 
QuestionConverting char* to double Pin
elelont225-Sep-14 21:37
elelont225-Sep-14 21:37 
AnswerRe: Converting char* to double Pin
«_Superman_»25-Sep-14 22:43
professional«_Superman_»25-Sep-14 22:43 
GeneralRe: Converting char* to double Pin
elelont225-Sep-14 23:54
elelont225-Sep-14 23:54 
GeneralRe: Converting char* to double Pin
Jochen Arndt26-Sep-14 2:04
professionalJochen Arndt26-Sep-14 2:04 
QuestionUnable to link C static library with Windows Store app when building ARM Pin
Thilina.madush24-Sep-14 15:36
Thilina.madush24-Sep-14 15:36 
SuggestionRe: Unable to link C static library with Windows Store app when building ARM Pin
Richard MacCutchan24-Sep-14 21:53
mveRichard MacCutchan24-Sep-14 21:53 
AnswerRe: Unable to link C static library with Windows Store app when building ARM Pin
jsolutions_uk24-Sep-14 21:59
jsolutions_uk24-Sep-14 21:59 
QuestionSplit Window Pin
john563223-Sep-14 7:39
john563223-Sep-14 7:39 
SuggestionRe: Split Window Pin
David Crow23-Sep-14 8:08
David Crow23-Sep-14 8:08 
QuestionHow to capture Window messages on device shut down using MFC messages Pin
Member 1110344223-Sep-14 2:39
Member 1110344223-Sep-14 2:39 
AnswerRe: How to capture Window messages on device shut down using MFC messages Pin
Richard MacCutchan23-Sep-14 3:26
mveRichard MacCutchan23-Sep-14 3:26 
QuestionEigen library : compile error Pin
includeh1022-Sep-14 23:18
includeh1022-Sep-14 23:18 

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.