www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/29/18:16:46

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Quick Question
Date: Fri, 29 May 1998 18:05:08 -0400
Organization: Two pounds of chaos and a pinch of salt.
Lines: 40
Message-ID: <356F3114.6B78@cs.com>
References: <356E19FC DOT B9B6E22F AT ica DOT net>
NNTP-Posting-Host: ppp144.cs.net
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

aalfonso wrote:
> 
> Can anyone tell me if DJGPP supports Multiple Inheritance, Abstract Data
> Types and Virtual Functions. I'm having problems compiling a sample
> program that uses these techniques using DJGPP and BorlandC/C++ 3.1
> Any information would be appreciated.

In order for us to help you with these things, we have to know more
about what you are trying to do.  DJGPP is _not_ a language; it's a set
of development tools that includes, among other things, a port of the
GNU gcc compiler, which supports both the C and C++ programming
languages.  As an object-oriented language, C++ supports all the classic
features of object-oriented programming, such as inheritance (single or
multiple), data hiding (classes), polymorphism (overloaded and virtual
functions), templates, etc.  If you don't understand C++, I recommend
taking a class or reading a textbook.

GNU C++ fully supports standard C++ language constructs, as far as I
know.  Earlier versions of gcc have had difficulties with some of the
later standard features, such as template instantiation across multiple
files and exception support.  However, the latest versions are rapidly
improving this functionality.  I recommend getting the latest gcc,
2.8.1, from SimTel if you have not gotten it already.  Read the
instructions before installing!

If you are having trouble with specific programs that you think ought to
work but don't, please post specific examples from these programs that
fail to compile, along with the _exact_ error messages you get.  If you
don't know how to capture errors, see chapter 6.10 of the DJGPP
Frequently Asked Questions list (v2/faq210b.zip from SimTel or online at
http://www.delorie.com/djgpp/v2faq/).  Without some kind of detailed
information there's no way we can help you further.

-- 
---------------------------------------------------------------------
|      John M. Aldrich       | "A 'critic' is a man who creates     |
|       aka Fighteer I       | nothing and thereby feels qualified  |
|   mailto:fighteer AT cs DOT com   | to judge the work of creative men."  |
| http://www.cs.com/fighteer |               - Lazarus Long         |
---------------------------------------------------------------------

- Raw text -


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