delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/12/10/10:32:06

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
Sender: salvador AT delorie DOT com
Message-ID: <3C14D59C.C1CB93BB@inti.gov.ar>
Date: Mon, 10 Dec 2001 12:32:45 -0300
From: salvador <salvador AT inti DOT gov DOT ar>
Organization: INTI
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19 i686)
X-Accept-Language: es-AR, en, es
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: Easy Q
References: <Xns9170D78D38071rfdfciasdsdj412tr AT 213 DOT 180 DOT 128 DOT 20>
Reply-To: djgpp AT delorie DOT com

Raf256 wrote:

> First of all - sorry for so much questions at once, but I just installed
> gcc 3.0.2 and I'm quite dissapointed - still using external templates isn't
> easy, and btwe gcc 302 is slower and have some bugs imho.

Yes, is slower, but the most important impact is while compiling C++
applications that uses standard headers. The problem is the new way the ISO
standard defines the important classes.
If you find bugs report them.

> But ofcourse - I know that GCC and DJGPP are free and they are realy great
> work :)
>
> Can somebody please give link to FAQ (or maybe post litle example)
> how can I use external templates ? (under gnu 3.0.2 + rhide + djgpp)
> like I have template class in i.e. myarray.h + myarray.cpp and I want to
> use it from other files in my project like game.cpp appl.cpp test.cpp
> etc...

I have a example, but perhaps is too basic. The example is in the code of my
editor, you can browse the CVS tree instead of downloading the whole thing.
Look in the settvuti/include directory, sarray.h and sarray.cc implements a
template. The files ussarray.cc and uisarray.cc in settvuti directory are
instances of this template (unsigned short and unsigned int versions).

SET

--
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Visit my home page: http://welcome.to/SetSoft or
http://www.geocities.com/SiliconValley/Vista/6552/
Alternative e-mail: set AT computer DOT org set AT ieee DOT org
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA Phone: +(5411) 4759 0013



- Raw text -


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