Click here to Skip to main content
15,889,861 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralStrange Behavior Pin
ahmad rahimi4-Dec-07 20:16
ahmad rahimi4-Dec-07 20:16 
GeneralColor picker as in MS Office Pin
Karri Mohan4-Dec-07 20:03
Karri Mohan4-Dec-07 20:03 
GeneralRe: Color picker as in MS Office Pin
Cedric Moonen4-Dec-07 20:19
Cedric Moonen4-Dec-07 20:19 
GeneralRe: Color picker as in MS Office Pin
Karri Mohan5-Dec-07 0:21
Karri Mohan5-Dec-07 0:21 
QuestionHow to create socket when user login in his accont Pin
Abhijit A4-Dec-07 19:46
Abhijit A4-Dec-07 19:46 
AnswerRe: How to create socket when user login in his accont Pin
manish.patel4-Dec-07 20:03
manish.patel4-Dec-07 20:03 
GeneralRe: How to create socket when user login in his accont Pin
Abhijit A5-Dec-07 0:42
Abhijit A5-Dec-07 0:42 
Questionfigure out the error. Pin
keyto4-Dec-07 19:12
keyto4-Dec-07 19:12 
QuestionRe: figure out the error. Pin
Hamid_RT4-Dec-07 19:39
Hamid_RT4-Dec-07 19:39 
GeneralRe: figure out the error. Pin
Don Box4-Dec-07 19:47
Don Box4-Dec-07 19:47 
GeneralRe: figure out the error. Pin
Llasus4-Dec-07 21:00
Llasus4-Dec-07 21:00 
JokeSuggestion Pin
CPallini4-Dec-07 21:53
mveCPallini4-Dec-07 21:53 
GeneralRe: Suggestion Pin
Nelek4-Dec-07 22:36
protectorNelek4-Dec-07 22:36 
GeneralMoveWindow Pin
kk.tvm4-Dec-07 18:51
kk.tvm4-Dec-07 18:51 
GeneralRe: MoveWindow Pin
Parthi_Appu4-Dec-07 19:46
Parthi_Appu4-Dec-07 19:46 
Generalint value through string Pin
CodingLover4-Dec-07 18:18
CodingLover4-Dec-07 18:18 
AnswerRe: int value through string Pin
manish.patel4-Dec-07 18:56
manish.patel4-Dec-07 18:56 
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]

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.