Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!eecae!cps3xx!usenet From: usenet@cps3xx.UUCP (Usenet file owner) Newsgroups: comp.lang.c++ Subject: Re: Turbo C => Zortech C++ ?? Message-ID: <716@cps3xx.UUCP> Date: 23 Sep 88 11:32:20 GMT References: <4800036@m.cs.uiuc.edu> Organization: Engineering, Michigan State U., E. Lansing MI Lines: 33 in article <4800036@m.cs.uiuc.edu>, rchen@m.cs.uiuc.edu says: > > I am thinking to switch from Turbo C to Zortech C++ very soon. > But before I commit myself, I'd like to make sure all my > Turbo C codes are still usable. Anyone enlighten me on this? At my last job, I was using Turbo C extensively and have recently gotten Zortech for at home. I've compiled uEmacs3.9 and Pccurses under both, along with alot of personal code. I found Zortech to be a bit tighter on ANSI prototypes than Turbo is. I had to change less than twenty lines of code in uEmacs to get it to compile. MOst of these changes had to do with adding function prototypes and adding a #ifdef ZORTECH, as neither the TURBO or MSC #defines worked quite right. ZOrtech's ad about being able to compile any MSC or TurboC code is really in error. They handle programming interrupt routines completely differently than either one. Also the movmem, etc functions in Turbo are present in Zortech but with the function names which MSC uses and not the ones Turbo uses. Over all, I'd say that Zortech is closer to MSC than Turbo C. The graphics package that comes with ZOrtech is excellent. I haven't written anything in it, but from watching their graphics demos they look quite hot on a simple 4.77MHz XT w/ CGA. I'd guess that at least 95% of your code will run unchanged, probably more. I'd definitely say that Zortech beats Turbo hands down. In fact, when I first got Zortech, I assumed that it compiled slower than Turbo does, so I ran some timings on compiling uEmacs3.9e under both and was pleasantly surprised to find that Zortech compiles and links faster than Turbo. John Lawitzke j UUCP: ...pyramid!fmsrl7!eecae!ipecac!jhl