🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #5012

Re: Replace the old TArray

#5012
From: Remy Lebeau (TeamB)
Date: Wed, 26 Oct 2005 23:04
18 lines
1387 bytes
"Tavi" <tg@hotmail.com> wrote in message
news:4360080c@newsgroups.borland.com...

> Now I get an error to include and look like in Borland Builder
> C++ are not anymore TArray and TArrayIterator. Any suggestion
> what I can use in place? I need to build an array of classes and
> to iterate through the array.

You can use a std::vector from the STL library:

    #include <vector>

    typedef std::vector<TgPoint> TgPoints;
    typedef std::vector<TgPoint>::iterator TgPointsIterator;


Gambit
Technical Details
Message-ID: <43600ae8@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4360080c@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,f294dda7a380a3d7
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4360080c@newsgroups.borland.com>
Subject: Re: Replace the old TArray
Date: Wed, 26 Oct 2005 16:04:41 -0700
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <43600ae8@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1130367720 68.69.17.41 (26 Oct 2005 16:02:00 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail