Qianli Zhang wrote:
> Sorry to bother you. Recently I met with a problem in strtof, a sample
> program is like:
Compile with -Wall, and you get a warning saying that the return type of
strtof is unknown, and the program fails.
Compile with -Wall -std=c99 and you get no warning and the progra
Dear Sirs,
Sorry to bother you. Recently I met with a problem in strtof, a sample
program is like:
#include
#include
main ()
{
float p = strtof ("-10", NULL);
printf ("-10 transform to %f\n", p);
}
In my up-to-date gentoo and debian system, gcc-3.3.6 and gcc-3.3.5 alway