www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/28/22:21:01

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: TC++ syntax?
Date: Wed, 28 Jan 1998 19:49:50 -0500
Organization: Two pounds of chaos and a pinch of salt.
Lines: 31
Message-ID: <34CFD22E.47D@cs.com>
References: <34cfde40 DOT 4376646 AT n5 DOT supernews DOT com>
NNTP-Posting-Host: ppp213.cs.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Neither wrote:
> 
> Hello, I'm learning on Borland Turbo C++ 3.0 for dos. Does DJGPP
> compile code the same way TC++ does it, or will I have to learn a
> whole other way to code? Thanks for your time, much appreciated.

Programs are programs; the difference is in the tools you use to compile
them.  ANSI-compliant code should compile and run with DJGPP just like
it would with Borland or any other program.  However, if you use
Borland-specific extensions, then they likely won't work the same way in
DJGPP.  The same goes for any real-mode trick such as direct hardware
access, interrupt handling, and the like.

There is an excellent document available that explains most of the
features of DJGPP and the most common difficulties encountered when
porting code to it from other compilers.  It is the Frequently Asked
Questions list, and is available from SimTel as v2/faq210b.zip or online
at http://www.delorie.com/djgpp/v2faq/.

hth

P.S.:  It's extremely impolite to hide your email address if you want
people to be able to reply to you.

-- 
---------------------------------------------------------------------
|      John M. Aldrich       | "Autocracy is based on the assumption|
|       aka Fighteer I       | that one man is wiser than a million |
|   mailto:fighteer AT cs DOT com   | men.  Let's play that over again,    |
| http://www.cs.com/fighteer | too.  Who decides?"   - Lazarus Long |
---------------------------------------------------------------------

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019