Path: utzoo!mnetor!uunet!husc6!uwvax!oddjob!ncar!boulder!tramp!swarbric From: swarbric@tramp.Colorado.EDU (Frank Swarbrick) Newsgroups: comp.lang.c Subject: Re: Modula2's godawful IO. Message-ID: <5653@sigi.Colorado.EDU> Date: 26 Apr 88 22:58:51 GMT References: <535@m10ux.UUCP> <225800026@uxe.cso.uiuc.edu> Sender: news@sigi.Colorado.EDU Reply-To: swarbric@tramp.Colorado.EDU (Frank Swarbrick) Organization: University of Colorado, Boulder Lines: 19 In article <225800026@uxe.cso.uiuc.edu> mcdonald@uxe.cso.uiuc.edu writes: :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. I just thought I'd mention this, Turbo C 1.5 gets EXE files of 5750 bytes and 19662 bytes respectivly with this code... Frank Swarbrick (and his cat) swarbric@tramp.Colorado.EDU ...{ncar!nbires}!boulder!tramp!swarbric "The shifting shafts of shining weave the fabric of their dreams..."