I am writting a program and I use sscanf to read data from a file:
sscanf(line, "%ld %lf\n", &a, &b);
The fiel contains data like following:
As I read in the first line, it's ok. But from the second line, I got problem. The a is not the value it is but -1869635475. It's an error. It seems the integer is too big. How can I solve the problem?