Path: utzoo!attcan!uunet!samsung!sdd.hp.com!usc!julius.cs.uiuc.edu!ux1.cso.uiuc.edu!ux1.cso.uiuc.edu!uxa.cso.uiuc.edu!klg0582 From: klg0582@uxa.cso.uiuc.edu Newsgroups: comp.os.msdos.programmer Subject: Code size generated by Turbo C Message-ID: <139400009@uxa.cso.uiuc.edu> Date: 18 Sep 90 21:24:00 GMT Lines: 15 Nf-ID: #N:uxa.cso.uiuc.edu:139400009:000:518 Nf-From: uxa.cso.uiuc.edu!klg0582 Sep 18 16:24:00 1990 I used to write programs using Turbo Pascal, but recently I have changed to Turbo C. One thing I don't like for Turbo C is that the executable code for the program of same purpose is larger in C than in pascal. Is this generally true or is there a way to avoid this? Also, if I added in an irrelevent function to a program (the other function won't have any link to this added-in function at all), the code becomes larger accordingly. Could anyone tell me why? thanks in advance, Ken H. Lin lin@uiwpl.ece.uiuc.edu