Click here to Skip to main content
15,849,328 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MFC update: how to disable loading pane docking state from registry Pin
roel_22-Jun-08 3:02
roel_22-Jun-08 3:02 
QuestionWhat's the difference between function atof() and _tstof()? Pin
liuxianming200121-Jun-08 7:08
liuxianming200121-Jun-08 7:08 
AnswerRe: What's the difference between function atof() and _tstof()? Pin
Ștefan-Mihai MOGA21-Jun-08 7:20
professionalȘtefan-Mihai MOGA21-Jun-08 7:20 
AnswerRe: What's the difference between function atof() and _tstof()? Pin
Dan21-Jun-08 9:08
Dan21-Jun-08 9:08 
QuestionConvert CString to double Pin
bkelly1321-Jun-08 5:27
bkelly1321-Jun-08 5:27 
AnswerRe: Convert CString to double Pin
bkelly1321-Jun-08 5:30
bkelly1321-Jun-08 5:30 
GeneralRe: Convert CString to double Pin
Ștefan-Mihai MOGA21-Jun-08 5:33
professionalȘtefan-Mihai MOGA21-Jun-08 5:33 
GeneralRe: Convert CString to double Pin
bkelly1321-Jun-08 5:42
bkelly1321-Jun-08 5:42 
I just compiled and ran that code, it works. But you already knew that.
Thank you Mihai.

The string to be converted will be extracted from a user dialog. The user may make an error in entering the number. Is there a method that will validate the string as being properly formatted or in some other way detect an input error to I can tell the user?

Thanks again.

Thanks for your time

GeneralRe: Convert CString to double Pin
Ștefan-Mihai MOGA21-Jun-08 5:47
professionalȘtefan-Mihai MOGA21-Jun-08 5:47 
GeneralRe: Convert CString to double Pin
bkelly1321-Jun-08 7:27
bkelly1321-Jun-08 7:27 
GeneralRe: Convert CString to double Pin
Ștefan-Mihai MOGA21-Jun-08 7:42
professionalȘtefan-Mihai MOGA21-Jun-08 7:42 
GeneralRe: Convert CString to double Pin
bkelly1321-Jun-08 17:05
bkelly1321-Jun-08 17:05 
GeneralRe: Convert CString to double Pin
Ștefan-Mihai MOGA21-Jun-08 21:18
professionalȘtefan-Mihai MOGA21-Jun-08 21:18 
GeneralRe: Convert CString to double Pin
bkelly1322-Jun-08 3:44
bkelly1322-Jun-08 3:44 
GeneralRe: Convert CString to double Pin
CPallini21-Jun-08 5:48
mveCPallini21-Jun-08 5:48 
GeneralRe: Convert CString to double Pin
bkelly1321-Jun-08 5:51
bkelly1321-Jun-08 5:51 
GeneralRe: Convert CString to double Pin
CPallini21-Jun-08 7:41
mveCPallini21-Jun-08 7:41 
GeneralRe: Convert CString to double Pin
bkelly1321-Jun-08 8:18
bkelly1321-Jun-08 8:18 
GeneralRe: Convert CString to double Pin
CPallini22-Jun-08 1:42
mveCPallini22-Jun-08 1:42 
GeneralSomebody voted me down for playing with you. Pin
Rajesh R Subramanian26-Jun-08 1:24
professionalRajesh R Subramanian26-Jun-08 1:24 
GeneralRe: Somebody voted me down for playing with you. Pin
CPallini26-Jun-08 2:00
mveCPallini26-Jun-08 2:00 
GeneralRe: Somebody voted me down for playing with you. Pin
Rajesh R Subramanian26-Jun-08 2:10
professionalRajesh R Subramanian26-Jun-08 2:10 
GeneralRe: Convert CString to double Pin
Nelek21-Jun-08 8:04
protectorNelek21-Jun-08 8:04 
GeneralRe: Convert CString to double Pin
bkelly1321-Jun-08 10:15
bkelly1321-Jun-08 10:15 
GeneralRe: Convert CString to double Pin
Nelek21-Jun-08 10:40
protectorNelek21-Jun-08 10:40 

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.