Article View: alt.comp.lang.learn.c-c++
Article #43Re: Find size of Array?
From: Ron Natalie
Date: Tue, 09 Jan 2001 20:30
Date: Tue, 09 Jan 2001 20:30
9 lines
1561 bytes
1561 bytes
"Warren S. Wyght" wrote: > > How do I find the size of an Array once the array was created by either > malloc or new. > You can't. You must remember what it was when you created it. Alteratively, bag using new to allocate arrays and use vector.
Technical Details
Message-ID:
<3A5B74F9.D9D3225@spamcop.net>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!216.227.56.88.MISMATCH!telocity-west!TELOCITY!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.skycache.com!Cidera!mencken.net.nih.gov!not-for-mailReferences:
<MsK66.2480$FH5.269435@news0.telusplanet.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109fba,230db20a608e15f9 X-Google-Attributes: gid109fba,public X-Google-Thread: 114592,230db20a608e15f9 X-Google-Attributes: gid114592,public X-Google-Thread: 10d4ba,230db20a608e15f9 X-Google-Attributes: gid10d4ba,public X-Google-Thread: fa7a6,230db20a608e15f9 X-Google-Attributes: gidfa7a6,public X-Google-ArrivalTime: 2001-01-09 12:32:56 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!216.227.56.88.MISMATCH!telocity-west!TELOCITY!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.skycache.com!Cidera!mencken.net.nih.gov!not-for-mail Message-ID: <3A5B74F9.D9D3225@spamcop.net> From: Ron Natalie <ron@spamcop.net> Organization: Sensor Systems X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: alt.comp.lang.learn.c-c++,att.lang.c++,comp.lang.c++,no.it.programmering.c++ Subject: Re: Find size of Array? References: <MsK66.2480$FH5.269435@news0.telusplanet.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 9 Date: Tue, 09 Jan 2001 15:30:49 -0500 NNTP-Posting-Host: 156.40.240.200 X-Trace: mencken.net.nih.gov 979072370 156.40.240.200 (Tue, 09 Jan 2001 15:32:50 EST) NNTP-Posting-Date: Tue, 09 Jan 2001 15:32:50 EST