Article View: alt.comp.lang.learn.c-c++
Article #665Re: Arrays in C++
From: Ron Natalie
Date: Wed, 14 Feb 2001 15:27
Date: Wed, 14 Feb 2001 15:27
10 lines
1506 bytes
1506 bytes
richardcrane wrote: > > can somebody help me iam a beginner in C++. I want to pass an array between > 3 different functions that are a user definable size. what method is the > best to start with as i dont have a clue. > As a beginner, you should be using std::vector<> not arrays, especially if you need to track a variable size.
Technical Details
Message-ID:
<3A8AA3CE.F2F4B0AC@spamcop.net>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!4.1.16.34!cpk-news-hub1.bbnplanet.com!washdc3-snf1!news.gtei.net!mencken.net.nih.gov!not-for-mailReferences:
<Ahxi6.6779$mO6.136359@news6-win.server.ntlworld.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10b7bb,4b7be81e9b0e1dc7 X-Google-Attributes: gid10b7bb,public X-Google-Thread: 114592,4b7be81e9b0e1dc7 X-Google-Attributes: gid114592,public X-Google-Thread: 109fba,4b7be81e9b0e1dc7 X-Google-Attributes: gid109fba,public X-Google-ArrivalTime: 2001-02-14 07:28:22 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!4.1.16.34!cpk-news-hub1.bbnplanet.com!washdc3-snf1!news.gtei.net!mencken.net.nih.gov!not-for-mail Message-ID: <3A8AA3CE.F2F4B0AC@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++,comp.lang.c++,ctdl.lang.c++ Subject: Re: Arrays in C++ References: <Ahxi6.6779$mO6.136359@news6-win.server.ntlworld.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 10 Date: Wed, 14 Feb 2001 10:27:10 -0500 NNTP-Posting-Host: 156.40.240.200 X-Trace: mencken.net.nih.gov 982164502 156.40.240.200 (Wed, 14 Feb 2001 10:28:22 EST) NNTP-Posting-Date: Wed, 14 Feb 2001 10:28:22 EST