Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!decwrl!purdue!i.cc.purdue.edu!j.cc.purdue.edu!pur-ee!uiucdcs!uxc.cso.uiuc.edu!uxe.cso.uiuc.edu!mcdonald From: mcdonald@uxe.cso.uiuc.edu Newsgroups: comp.lang.c Subject: Re: Modula2's godawful IO. Message-ID: <225800026@uxe.cso.uiuc.edu> Date: 25 Apr 88 13:27:00 GMT References: <535@m10ux.UUCP> Lines: 22 Nf-ID: #R:m10ux.UUCP:535:uxe.cso.uiuc.edu:225800026:000:732 Nf-From: uxe.cso.uiuc.edu!mcdonald Apr 25 08:27:00 1988 >In fact, if your C implementation has a limited address space and a bulky >floating-point library and does NOT do this, complain to the implementors. >It's not a novel or strange idea. The very first C implementation, on the >pdp11, used this trick. If Microslop can't be bothered, don't buy their >compiler. -- The following program #include main() { int i = 5; printf("%d is an int\n",i); } compiles and links under Microsoft C 5.00 to a .exe file 7089 bytes long. Changing "int" to "double" and %d to %lf results in a file 21242 bytes long. The Microsoft C compiler is quite good, better than most Unix ones, I would guess. It has myriads of options that allow you do get just what you want. Doug McDonald