Click here to Skip to main content
15,501,271 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Signed integers considered harmful? Pin
Richard MacCutchan26-Sep-14 11:14
mveRichard MacCutchan26-Sep-14 11:14 
GeneralRe: Signed integers considered harmful? Pin
harold aptroot26-Sep-14 11:19
Memberharold aptroot26-Sep-14 11:19 
AnswerRe: Signed integers considered harmful? Pin
CubbiMew29-Sep-14 17:44
MemberCubbiMew29-Sep-14 17:44 
QuestionVector index to iterator Pin
elelont226-Sep-14 0:45
Memberelelont226-Sep-14 0:45 
AnswerRe: Vector index to iterator Pin
«_Superman_»26-Sep-14 1:07
professional«_Superman_»26-Sep-14 1:07 
GeneralRe: Vector index to iterator Pin
elelont226-Sep-14 1:29
Memberelelont226-Sep-14 1:29 
GeneralRe: Vector index to iterator Pin
CPallini26-Sep-14 2:31
mveCPallini26-Sep-14 2:31 
QuestionConverting char* to double Pin
elelont225-Sep-14 22:37
Memberelelont225-Sep-14 22:37 
Hi,
I have a char array like that represents a double, e.g "1.0004"

If i use atof to get double then i get the value 1, since my locale is using , as decimal separator.

But when i use istringstream i get the correct value. How is that possible? Does it convert BOTH the . and , to decimal separators?

Regards
AnswerRe: Converting char* to double Pin
«_Superman_»25-Sep-14 23:43
professional«_Superman_»25-Sep-14 23:43 
GeneralRe: Converting char* to double Pin
elelont226-Sep-14 0:54
Memberelelont226-Sep-14 0:54 
GeneralRe: Converting char* to double Pin
Jochen Arndt26-Sep-14 3:04
professionalJochen Arndt26-Sep-14 3:04 
QuestionUnable to link C static library with Windows Store app when building ARM Pin
Thilina.madush24-Sep-14 16:36
MemberThilina.madush24-Sep-14 16:36 
SuggestionRe: Unable to link C static library with Windows Store app when building ARM Pin
Richard MacCutchan24-Sep-14 22:53
mveRichard MacCutchan24-Sep-14 22:53 
AnswerRe: Unable to link C static library with Windows Store app when building ARM Pin
jsolutions_uk24-Sep-14 22:59
Memberjsolutions_uk24-Sep-14 22:59 
QuestionSplit Window Pin
john563223-Sep-14 8:39
Memberjohn563223-Sep-14 8:39 
SuggestionRe: Split Window Pin
David Crow23-Sep-14 9:08
MemberDavid Crow23-Sep-14 9:08 
QuestionHow to capture Window messages on device shut down using MFC messages Pin
Member 1110344223-Sep-14 3:39
MemberMember 1110344223-Sep-14 3:39 
AnswerRe: How to capture Window messages on device shut down using MFC messages Pin
Richard MacCutchan23-Sep-14 4:26
mveRichard MacCutchan23-Sep-14 4:26 
QuestionEigen library : compile error Pin
includeh1023-Sep-14 0:18
Memberincludeh1023-Sep-14 0:18 
AnswerRe: Eigen library : compile error Pin
Richard MacCutchan23-Sep-14 2:51
mveRichard MacCutchan23-Sep-14 2:51 
AnswerRe: Eigen library : compile error Pin
CubbiMew29-Sep-14 18:04
MemberCubbiMew29-Sep-14 18:04 
QuestionSimilar pattern recognition in 1920 x 1080 Images Pin
peterkoller12322-Sep-14 22:58
Memberpeterkoller12322-Sep-14 22:58 
QuestionSeeking Advice/Guidance in Window UI development and tools Pin
Terry Milewski22-Sep-14 9:16
MemberTerry Milewski22-Sep-14 9:16 
AnswerRe: Seeking Advice/Guidance in Window UI development and tools Pin
Richard MacCutchan22-Sep-14 23:12
mveRichard MacCutchan22-Sep-14 23:12 
GeneralRe: Seeking Advice/Guidance in Window UI development and tools Pin
Terry Milewski23-Sep-14 8:16
MemberTerry Milewski23-Sep-14 8:16 

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.