Use "%lf" as the format control string for fscanf as in:
[...]
double d;
fscanf(yourstream, "%lf", &d);
[...]
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 2 of 2
Thread: fscanf stupid question.....Threaded View
|
Click Here to Expand Forum to Full Width |