www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/10/04/17:24:30

From: "A. Jans-Beken" <jansb000 AT wxs DOT nl>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Templates ? anyone have any success?
Date: Wed, 04 Oct 2000 23:11:24 +0200
Organization: World Access
Lines: 18
Message-ID: <39DB9CFC.84DF6A1C@wxs.nl>
References: <39DAAEC0 DOT A8C0D191 AT connection DOT com>
NNTP-Posting-Host: ipc3797b60.dial.wxs.nl
Mime-Version: 1.0
X-Trace: reader1.wxs.nl 970693432 14443553 195.121.123.96 (4 Oct 2000 21:03:52 GMT)
X-Complaints-To: abuse AT wxs DOT nl
NNTP-Posting-Date: 4 Oct 2000 21:03:52 GMT
X-Mailer: Mozilla 4.7 [en-gb] (Win98; I)
X-Accept-Language: en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

sam wrote:

> Can anyone help me/tell me how to declare templates  for object pointer
> arrays?
> If this language is supposed to be hinging on creating and destroying
> objects,
> I should be able to create arrays of pointers to objects easily. Shees.

Templates are not simple (I think).
I would suggest that you use STL. This will most probably be of some help.

Documentation can be found here:
http://www.icce.rug.nl/docs/cplusplus/cplusplus.html
http://www.sgi.com/Technology/STL/




- Raw text -


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