Message-ID: <38EB9D63.E5A1A07B@brandonsd.mb.ca> From: N J Chackowsky X-Mailer: Mozilla 4.7 [en] (Win95; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: arrarys References: <5ZtG4.648$OR3 DOT 8963 AT typhoon DOT nyroc DOT rr DOT com> <38EA71BA DOT 73EDDF0 AT hotmail DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 25 Date: Wed, 05 Apr 2000 20:00:41 GMT NNTP-Posting-Host: 142.13.16.203 X-Trace: typhoon.mbnet.mb.ca 954964841 142.13.16.203 (Wed, 05 Apr 2000 15:00:41 CDT) NNTP-Posting-Date: Wed, 05 Apr 2000 15:00:41 CDT Organization: MBnet Networking Inc. To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Andrew Hakman wrote: > > 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 I think should do the trick vector a(19); ... // use a just like a "regular" array ... a.resize(55); ... > > 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?