🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Arrays in C++

#667
From: Mohammed Ansari
Date: Wed, 14 Feb 2001 15:42
17 lines
1432 bytes
just pass pointer to the first element of the array. for an array of char

f(char *array1ptr);

:)
richardcrane <richardcrane@ntlworld.com> wrote in article
<Ahxi6.6779$mO6.136359@news6-win.server.ntlworld.com>...
> 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.
> 
> cheers
> Rick
> 
> 
> 
Technical Details
Message-ID: <01c0969e$d1356330$928c7593@rpc5097>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!newsfeed.germany.net!uni-erlangen.de!newsfeed1.telenordia.se!algonet!uab.ericsson.se!erinews.ericsson.se!newstoo.ericsson.se!not-for-mail
References: <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:54:53 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!newsfeed.germany.net!uni-erlangen.de!newsfeed1.telenordia.se!algonet!uab.ericsson.se!erinews.ericsson.se!newstoo.ericsson.se!not-for-mail
From: "Mohammed Ansari" <m.ansari@ericsson.com>
Newsgroups: alt.comp.lang.learn.c-c++,comp.lang.c++,ctdl.lang.c++
Subject: Re: Arrays in C++
Date: 14 Feb 2001 15:42:56 GMT
Organization: ericsson
Lines: 17
Message-ID: <01c0969e$d1356330$928c7593@rpc5097>
References: <Ahxi6.6779$mO6.136359@news6-win.server.ntlworld.com>
NNTP-Posting-Host: rpc5097.rtp.ericsson.se
X-Newsreader: Microsoft Internet News 4.70.1161