Mail Archives: djgpp/1998/01/28/22:21:01
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 -