Click here to Skip to main content
16,017,638 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Registry vs .Ini files. Pin
Matthew Faithfull31-May-07 8:25
Matthew Faithfull31-May-07 8:25 
GeneralRe: Registry vs .Ini files. Pin
Anurag Gandhi31-May-07 8:35
professionalAnurag Gandhi31-May-07 8:35 
AnswerRe: Registry vs .Ini files. Pin
#realJSOP1-Jun-07 3:21
professional#realJSOP1-Jun-07 3:21 
QuestionAnyone know of a VS2005 add-in to do this? Pin
Stick^31-May-07 6:45
Stick^31-May-07 6:45 
QuestionRe: Anyone know of a VS2005 add-in to do this? Pin
David Crow31-May-07 8:13
David Crow31-May-07 8:13 
AnswerRe: Anyone know of a VS2005 add-in to do this? Pin
Stick^31-May-07 8:46
Stick^31-May-07 8:46 
QuestionConvert a number in Cstring and then CString in number? Pin
Immunity1831-May-07 6:40
Immunity1831-May-07 6:40 
AnswerRe: Convert a number in Cstring and then CString in number? [modified] Pin
Roger Stoltz31-May-07 6:52
Roger Stoltz31-May-07 6:52 
double atof( const char *string );


[edit]

I assume that the one who voted my post '1' is unfamiliar with the basic standard library functions in C/C++. atof() is declared in stdlib.h.
To get a double from a CString would look like this:
CString str = "12345.6";
double value = 0.;
value = atof( str );
Further information can be found here[^].

[/edit]

-- modified at 13:44 Thursday 31st May, 2007


"It's supposed to be hard, otherwise anybody could do it!" - selfquote
"High speed never compensates for wrong direction!" - unknown

GeneralRe: Convert a number in Cstring and then CString in number? Pin
Immunity1831-May-07 8:13
Immunity1831-May-07 8:13 
GeneralRe: Convert a number in Cstring and then CString in number? Pin
Immunity1831-May-07 8:17
Immunity1831-May-07 8:17 
GeneralRe: Convert a number in Cstring and then CString in number? Pin
Roger Stoltz31-May-07 8:19
Roger Stoltz31-May-07 8:19 
GeneralRe: Convert a number in Cstring and then CString in number? Pin
jmjack8823-Dec-09 21:02
jmjack8823-Dec-09 21:02 
Questiongetting the class members to pop up? Pin
ldsdbomber31-May-07 6:03
ldsdbomber31-May-07 6:03 
AnswerRe: getting the class members to pop up? Pin
David Crow31-May-07 6:11
David Crow31-May-07 6:11 
GeneralRe: getting the class members to pop up? Pin
ldsdbomber31-May-07 6:25
ldsdbomber31-May-07 6:25 
GeneralRe: getting the class members to pop up? Pin
David Crow31-May-07 6:31
David Crow31-May-07 6:31 
GeneralRe: getting the class members to pop up? Pin
Vaclav_31-May-07 16:36
Vaclav_31-May-07 16:36 
QuestionUnicode setting bby default in IDE Pin
tom groezer31-May-07 5:10
tom groezer31-May-07 5:10 
AnswerRe: Unicode setting bby default in IDE Pin
toxcct31-May-07 5:27
toxcct31-May-07 5:27 
Questiondisplaying png's with GDI+ Pin
Adno31-May-07 4:58
Adno31-May-07 4:58 
AnswerRe: displaying png's with GDI+ Pin
Jun Du31-May-07 5:09
Jun Du31-May-07 5:09 
QuestionRe: displaying png's with GDI+ Pin
Mark Salsbery31-May-07 6:15
Mark Salsbery31-May-07 6:15 
AnswerRe: displaying png's with GDI+ Pin
Adno31-May-07 15:04
Adno31-May-07 15:04 
GeneralRe: displaying png's with GDI+ Pin
Mark Salsbery31-May-07 15:16
Mark Salsbery31-May-07 15:16 
QuestionRe: displaying png's with GDI+ Pin
Hamid_RT31-May-07 18:39
Hamid_RT31-May-07 18:39 

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.