delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/20/01:30:42

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: C tutorial?
Date: Thu, 19 Mar 1998 19:32:59 -0500
Organization: Two pounds of chaos and a pinch of salt.
Lines: 37
Message-ID: <3511B93B.7DC5@cs.com>
References: <351164CE DOT 7EB36C11 AT BTInternet DOT com>
NNTP-Posting-Host: ppp210.cs.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Reinier Zwitserloot wrote:
> 
> I am considering learning either 32-bit assembler -OR- DJGPP. I
> downloaded DJGPP (along with most of the additional tools). Now, all I
> need is a good, preferably free and available online, tutorial for C,
> and C++. I've tried one, but it appears DJGPP isn't exactly ansi c
> compatible. Any DJGPP stuff out there?

On the contrary, DJGPP is 100% ANSI C compatible.  Its ANSI C++ support
is not perfect, but is being updated constantly.  If you have something
that you know is ANSI C that does not compile under DJGPP, we'd very
much like to see it.

However, assembly language is by definition non-ANSI.  So are hardware
interfaces, graphics, and just about every other form of
machine-specific code.  So your best bet would be to download the DJGPP
Frequently Asked Questions list (v2/faq210b.zip or online at
http://www.delorie.com/djgpp/v2faq/) and read through chapters 17 and 18
which tell you what you need do to get that 16-bit code converted to
32-bit flat model protected mode.

There are C and C++ tutorials available on the Internet, though I don't
know any specific URLs.  However, this topic has been brought up several
times in the past few weeks; a DejaNews search of this newsgroup or a
search of the mailing list archives at
http://www.delorie.com/djgpp/mail-archives/ should turn up quite a few
possibilities.

hth!

-- 
---------------------------------------------------------------------
|      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