I had a problem compiling the program on a few sparc
solaris boxes. I would get an error about strtof first use
of this function (in hellpers.cpp line 123) I asked my
friend for help and was able to fix the problem by
following his instructions :
Replace line # 123 in helpers.cpp:
x = strtof(str, &end);
with this one
x = sscanf("%f", str);
It seems that libc for solaris does not have this
function. You can
use this alternative though. That should convert a string
to a floating
number.
Logged In: YES
user_id=285914
Yeah, strtof seems to be in the C99 definition only (i.e. a
lot newer than Solaris.)