how can i easily read a "double" with fscanf() from a text file ?
regards
Printable View
how can i easily read a "double" with fscanf() from a text file ?
regards
Use "%lf" as the format control string for fscanf as in:
[...]
double d;
fscanf(yourstream, "%lf", &d);
[...]