atof() in SCO UNIX DEV

=Ronald van der Pol rvdp at cs.vu.nl
Sat Oct 13 10:46:16 AEST 1990


tb at pemstgt.gtc.de (Tillmann Basien) writes:

| Hy netlanders,
| 	I have SCO UNIX Version 3.2.0 with Development Kit.
| 	The atof()-function does not work proberly. Is there a work-a-round
| 	of this problem?
		atof() **does** work normally

| 	My test-programm:

| 		#include <stdio.h>
| 		#include <math.h>
			#include <stdlib.h>

| 		main()
| 		{
| 		 double f;
| 		 f=atof("123.23");
| 		 printf("F: %f \n",f);
| 		}
	SCO UNIX has an ANSI C compiler. ANSI C's atof() is decared
	in "stdlib.h".

--
		Ronald van der Pol  <rvdp at cs.vu.nl>



More information about the Comp.unix.sysv386 mailing list