Help with BDSC float

Andrew M. Moore moore at mit-eddie.MIT.EDU
Sun Sep 14 00:02:08 AEST 1986




   My BDS C compiler doesn't want to accept  %6.3f  (example) in printf's.
Nor does it accept "float" as a data type declaration.  On some compilers,
I don't have to declare a variable as "float" before using it:

	printf("Float: %6.3f", (5.0/4.0));

...but in BDS, this is not accepted.  How is "float" different in BDS C?

Andrew Moore
arpa MOORE%MIT-EECS at MIT-MC.ARPA
uucp ...mit-eddie!moore
  us Box 121, North Quincy, MA  02171



More information about the Comp.lang.c mailing list