
scanf : floating point format not linked
Yes. You need to link to the math library. The way to do this varies from
compiler to compiler. Your source file must have header "math.h", but you
may also have to explicitly link to the required library.
To solve this problem, post your code, in particular the header declaration
part, and name your compiler.
--
Paul Lutus
www.arachnoid.com
Quote:
>I got an error message "scanf : floating point format not linked...
Abnormal
>Program termination" caused by the following section of code...
>printf ("Total transaction? ");
>scanf("\n%f", &d->tot_trans);
>the error only happened after I added that part...
>i can't figure out whats wrong... can anyone give some clue??
>thanks...
>mlim