Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!uxc!uxc.cso.uiuc.edu!uxg.cso.uiuc.edu!uxf.cso.uiuc.edu!mwh1629 From: mwh1629@uxf.cso.uiuc.edu Newsgroups: comp.sys.ibm.pc Subject: Turbo C vs. Pascal Message-ID: <46500039@uxf.cso.uiuc.edu> Date: 5 Mar 89 22:36:00 GMT Lines: 21 Nf-ID: #N:uxf.cso.uiuc.edu:46500039:000:1229 Nf-From: uxf.cso.uiuc.edu!mwh1629 Mar 5 16:36:00 1989 I have been fiddling with Turbo Pascal and Turbo C, trying to decide which is best. My primary concern is the final EXE file size. C seems to compile huge. A program to print "Hello, world." on the screen compiled to 9k, while a program to print out a table of numbers and sort them in Turbo Pascal only took 6k. A simple Mandelbrot program in Turbo C was 24k. Does the size of the C code stop increasing after a certain point (i.e. a long C program is of equal length to a long Pascal program) or are C files generally very large? I'm not overly-concerned with small differences in size, but it seems to me that if it takes 9k to print something on the screen, a decent sized C program will fill up my hard drive. I also have two general questions. If you compile a program with a language and then commercially release it are you required to pay some money to the compiler's maker? Lastly, what's the deal with version numbers? I think I was told that, for example, Version 2.34 means that 4 is a bug fix, 3 is a minor improvement and 2 is a major change. Is this correct? Thanks, Matt Henry "[College is] the most profitable damn nap I ever took." - Cecil Adams.