Click here to Skip to main content
16,005,162 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: not a number Pin
Desmo166-Jul-06 6:59
Desmo166-Jul-06 6:59 
GeneralRe: not a number Pin
Maximilien6-Jul-06 7:33
Maximilien6-Jul-06 7:33 
GeneralRe: not a number Pin
Desmo166-Jul-06 6:59
Desmo166-Jul-06 6:59 
QuestionRe: not a number Pin
David Crow6-Jul-06 8:15
David Crow6-Jul-06 8:15 
GeneralRe: not a number Pin
Zac Howland6-Jul-06 8:23
Zac Howland6-Jul-06 8:23 
AnswerRe: not a number Pin
peterchen6-Jul-06 11:01
peterchen6-Jul-06 11:01 
GeneralRe: not a number Pin
Desmo166-Jul-06 21:48
Desmo166-Jul-06 21:48 
GeneralRe: not a number Pin
peterchen7-Jul-06 10:30
peterchen7-Jul-06 10:30 
write (simplest solution) - pseudocode:

if (_finite(x)) write("nan"); else write(x);

(write is your filewriting function)

read accordingly:
string s = read(next_element);
if (s == "nan") { ... it's a nan... }
else x = strtod(s,...);


the actual code depends a lot on what methods and libraries you use.





Some of us walk the memory lane, others plummet into a rabbit hole

Tree<t> in C# || Fold With Us! || sighist

QuestionHow to pass value from one dialog to another dialog Pin
san_nat6-Jul-06 5:06
san_nat6-Jul-06 5:06 
AnswerRe: How to pass value from one dialog to another dialog Pin
Jun Du6-Jul-06 5:15
Jun Du6-Jul-06 5:15 
GeneralRe: How to pass value from one dialog to another dialog Pin
ThatsAlok6-Jul-06 18:49
ThatsAlok6-Jul-06 18:49 
AnswerRe: How to pass value from one dialog to another dialog Pin
Zac Howland6-Jul-06 5:26
Zac Howland6-Jul-06 5:26 
AnswerRe: How to pass value from one dialog to another dialog Pin
BlitzPackage6-Jul-06 6:40
BlitzPackage6-Jul-06 6:40 
AnswerRe: How to pass value from one dialog to another dialog Pin
ThatsAlok6-Jul-06 18:49
ThatsAlok6-Jul-06 18:49 
AnswerRe: How to pass value from one dialog to another dialog Pin
Hamid_RT6-Jul-06 19:00
Hamid_RT6-Jul-06 19:00 
QuestionMeausurement Studio Pin
Desmo166-Jul-06 4:27
Desmo166-Jul-06 4:27 
AnswerRe: Meausurement Studio Pin
Jun Du6-Jul-06 5:00
Jun Du6-Jul-06 5:00 
GeneralRe: Meausurement Studio Pin
ThatsAlok6-Jul-06 18:51
ThatsAlok6-Jul-06 18:51 
AnswerRe: Meausurement Studio Pin
ThatsAlok6-Jul-06 18:54
ThatsAlok6-Jul-06 18:54 
QuestionRelease / Terminate a DLL Pin
Programm3r6-Jul-06 4:24
Programm3r6-Jul-06 4:24 
AnswerRe: Release / Terminate a DLL Pin
Marc Soleda6-Jul-06 4:37
Marc Soleda6-Jul-06 4:37 
GeneralRe: Release / Terminate a DLL Pin
Programm3r6-Jul-06 4:39
Programm3r6-Jul-06 4:39 
GeneralRe: Release / Terminate a DLL Pin
Marc Soleda6-Jul-06 4:47
Marc Soleda6-Jul-06 4:47 
AnswerRe: Release / Terminate a DLL Pin
YaronNir6-Jul-06 4:40
YaronNir6-Jul-06 4:40 
AnswerRe: Release / Terminate a DLL Pin
Sarath C6-Jul-06 4:41
Sarath C6-Jul-06 4:41 

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.