Article View: alt.comp.lang.learn.c-c++
Article #371Re-dimension arrays
From: Magnus Hult
Date: Wed, 30 Jun 1999 00:00
Date: Wed, 30 Jun 1999 00:00
14 lines
1265 bytes
1265 bytes
Hi there, is there anyway to redimension an array without deleting stuff that's already in it (something like VB's "ReDim Preserve")? I know it's possible to do this: int array[1]; array[17] = 1234; but can I be sure no important data are being overwritten? thanks Magnus Hult hult.holmstrom@swipnet.se http://www.ovenproof.com
Technical Details
Message-ID:
<WUbe3.540$nZ5.877@nntpserver.swip.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f8d38,11a442c11b37f647,start X-Google-Attributes: gidf8d38,public X-Google-Thread: 114592,11a442c11b37f647,start X-Google-Attributes: gid114592,public X-Google-Thread: 109fba,11a442c11b37f647,start X-Google-Attributes: gid109fba,public From: "Magnus Hult" <hult.holmstrom@swipnet.se> Subject: Re-dimension arrays Date: 1999/06/30 Message-ID: <WUbe3.540$nZ5.877@nntpserver.swip.net> X-Deja-AN: 495374877 X-Sender: s-274939@d212-151-251-207.swipnet.se X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 X-Complaints-To: news-abuse@swip.net X-Trace: nntpserver.swip.net 930695862 212.151.251.207 (Wed, 30 Jun 1999 00:37:42 MET DST) Organization: A Customer of Tele2 X-MSMail-Priority: Normal NNTP-Posting-Date: Wed, 30 Jun 1999 00:37:42 MET DST Newsgroups: alt.comp.lang.learn.c-c++,borland.public.cpp.language,comp.lang.c++