Click here to Skip to main content
15,881,173 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: int value through string Pin
CodingLover4-Dec-07 19:23
CodingLover4-Dec-07 19:23 
GeneralRe: int value through string Pin
manish.patel4-Dec-07 19:37
manish.patel4-Dec-07 19:37 
GeneralRe: int value through string Pin
CodingLover4-Dec-07 20:04
CodingLover4-Dec-07 20:04 
GeneralRe: int value through string Pin
Cedric Moonen4-Dec-07 20:05
Cedric Moonen4-Dec-07 20:05 
GeneralRe: int value through string Pin
manish.patel4-Dec-07 20:21
manish.patel4-Dec-07 20:21 
GeneralRe: int value through string Pin
Cedric Moonen4-Dec-07 20:28
Cedric Moonen4-Dec-07 20:28 
GeneralRe: int value through string Pin
CodingLover4-Dec-07 20:22
CodingLover4-Dec-07 20:22 
GeneralRe: int value through string Pin
Cedric Moonen4-Dec-07 20:01
Cedric Moonen4-Dec-07 20:01 
I would say it is much better than using the C functions (sscanf, atoi, ...) because you are consistent (you used string, so stay with the tools the stl provides you). I don't like the idea of mixing C++ (std::string) with C (atoi, sscanf, ...).

What is this thing with GetFileTitle ? std::string doesn't have such a function so it shouldn't even compile (except if you pasted a wrong piece of code).



Cédric Moonen
Software developer

Charting control [v1.2]

GeneralRe: int value through string Pin
Hamid_RT4-Dec-07 20:07
Hamid_RT4-Dec-07 20:07 
GeneralRe: int value through string Pin
Cedric Moonen4-Dec-07 20:14
Cedric Moonen4-Dec-07 20:14 
GeneralRe: int value through string Pin
Hamid_RT4-Dec-07 20:28
Hamid_RT4-Dec-07 20:28 
GeneralRe: int value through string Pin
CodingLover4-Dec-07 20:12
CodingLover4-Dec-07 20:12 
GeneralRe: int value through string Pin
jhwurmbach5-Dec-07 1:26
jhwurmbach5-Dec-07 1:26 
GeneralRe: int value through string Pin
David Crow5-Dec-07 2:47
David Crow5-Dec-07 2:47 
GeneralRe: int value through string Pin
CodingLover5-Dec-07 18:05
CodingLover5-Dec-07 18:05 
QuestionRe: int value through string Pin
Hamid_RT4-Dec-07 18:59
Hamid_RT4-Dec-07 18:59 
GeneralRe: int value through string Pin
CodingLover4-Dec-07 19:37
CodingLover4-Dec-07 19:37 
GeneralRe: int value through string Pin
Hamid_RT4-Dec-07 19:38
Hamid_RT4-Dec-07 19:38 
GeneralRe: int value through string Pin
CodingLover4-Dec-07 20:19
CodingLover4-Dec-07 20:19 
QuestionRe: int value through string Pin
David Crow5-Dec-07 2:49
David Crow5-Dec-07 2:49 
GeneralRe: int value through string Pin
Nelek5-Dec-07 3:43
protectorNelek5-Dec-07 3:43 
GeneralUse of SetWindowsHookEx detectd as spyware Pin
Sudhir Mangla4-Dec-07 18:16
professionalSudhir Mangla4-Dec-07 18:16 
GeneralRe: Use of SetWindowsHookEx detectd as spyware Pin
Naveen4-Dec-07 20:42
Naveen4-Dec-07 20:42 
Questionwhy rename would fail sometimes? Pin
kcynic4-Dec-07 15:01
kcynic4-Dec-07 15:01 
AnswerRe: why rename would fail sometimes? Pin
David Crow4-Dec-07 16:51
David Crow4-Dec-07 16:51 

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.