Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!husc6!panda!genrad!mit-eddie!moore From: moore@mit-eddie.MIT.EDU (Andrew M. Moore) Newsgroups: net.lang.c Subject: Help with BDSC float Message-ID: <3211@mit-eddie.MIT.EDU> Date: Sat, 13-Sep-86 10:02:08 EDT Article-I.D.: mit-eddi.3211 Posted: Sat Sep 13 10:02:08 1986 Date-Received: Sat, 13-Sep-86 21:15:57 EDT References: <3170@brl-smoke.ARPA> Organization: M.I.T. EE/CS Computer Facility, Cambridge MA Lines: 15 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@MIT-MC.ARPA uucp ...mit-eddie!moore us Box 121, North Quincy, MA 02171