🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.lang.learn.c-c++
Article #48

Re: Find size of Array?

#48
From: Flavius Vespasian
Date: Tue, 09 Jan 2001 23:30
21 lines
2150 bytes
In article <MsK66.2480$FH5.269435@news0.telusplanet.net>, "Warren S. Wyght" <wswyght@telusplanet.net> wrote:
>How do I find the size of an Array once the array was created by either
>malloc or new.

This is why you should use the vector classes in the standard library.

John - N8086N 
Big brother is watching. Disable cookies in your web browser.
-------------------------------------------
Wise man says "Never use a bank with the initials F. U."
-------------------------------------------
Are you interested in a professional society or
guild for programmers? Want to fight section 1706?


See www.programmersguild.org
Newsgroup: us.issues.occupations.computer-programmers


EMail Address:
_m-i-a-n-o_@_c_o_l_o_s_s_e_u_m_b_u_i_l_d_e_r_s._c_o_m_
Technical Details
Message-ID: <eaN66.567$b25.20441@newsread2.prod.itd.earthlink.net>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!newsfeed.mesh.ad.jp!europa.netcrusader.net!205.252.116.205!howland.erols.net!newsfeed.mindspring.net.MISMATCH!news.mindspring.net!newsfeed2.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail
References: <MsK66.2480$FH5.269435@news0.telusplanet.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 114592,230db20a608e15f9
X-Google-Attributes: gid114592,public
X-Google-Thread: 109fba,230db20a608e15f9
X-Google-Attributes: gid109fba,public
X-Google-Thread: fa7a6,230db20a608e15f9
X-Google-Attributes: gidfa7a6,public
X-Google-Thread: 10d4ba,230db20a608e15f9
X-Google-Attributes: gid10d4ba,public
X-Google-ArrivalTime: 2001-01-09 15:31:07 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!newsfeed.mesh.ad.jp!europa.netcrusader.net!205.252.116.205!howland.erols.net!newsfeed.mindspring.net.MISMATCH!news.mindspring.net!newsfeed2.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail
Newsgroups: alt.comp.lang.learn.c-c++,att.lang.c++,comp.lang.c++,no.it.programmering.c++
From: null@null.nl (Flavius Vespasian)
Subject: Re: Find size of Array?
References: <MsK66.2480$FH5.269435@news0.telusplanet.net>
X-Newsreader: News Xpress 2.01
Lines: 25
Message-ID: <eaN66.567$b25.20441@newsread2.prod.itd.earthlink.net>
Date: Tue, 09 Jan 2001 23:30:18 GMT
NNTP-Posting-Host: 63.208.117.231
X-Complaints-To: abuse@earthlink.net
X-Trace: newsread2.prod.itd.earthlink.net 979083018 63.208.117.231 (Tue, 09 Jan 2001 15:30:18 PST)
NNTP-Posting-Date: Tue, 09 Jan 2001 15:30:18 PST
Organization: EarthLink Inc. -- http://www.EarthLink.net