Mail Archives: djgpp/1992/09/30/11:54:11
First, a general tip:
Look at the "C" Bible, Kernighan/Ritchie: Programming in C.
There are different standard library functions adapted to the special
types of variables:
abs() returns type int,
labs() (not implemented on every system) returns long int,
fabs() returns float (sometimes double)
You will have to include the correct header files "stdlib.h" or
"math.h" (besides "stdio.h" of course) to be able to use them.
Robert Wolter
wolter AT wrcm2 DOT urz DOT uni-wuppertal DOT de
- Raw text -