www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/05/02:20:26

From: "John Meyer" <john_meyer AT geocities DOT com>
To: <djgpp AT delorie DOT com>
Subject: RE: arrarys
Date: Tue, 4 Apr 2000 23:15:13 -0600
Message-ID: <NEBBLIFBELJKKECHAFNBCEMOCAAA.john_meyer@geocities.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
In-Reply-To: <38EA71BA.73EDDF0@hotmail.com>
Importance: Normal
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

My preference in this is list, but I agree that he needs another storage
container.

-----Original Message-----
From: Andrew Hakman [mailto:hakmana AT hotmail DOT com]
Sent: Tuesday, April 04, 2000 4:51 PM
To: djgpp AT delorie DOT com
Subject: Re: arrarys


Im not super duper familiar with them, but it sounds like you need a vector
instead of an array (should resise itself as necessary)

#include<vector>  I think should do the trick

Andrew

Bob wrote:

> if a array is delcared such as "int number[19];"
> is there anyway to later change it so that it keeps all of the original
> values but can hold an addition 1,5,or any addition numbers?

- Raw text -


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