🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Arrays in C++

#671
From: Siper
Date: Wed, 14 Feb 2001 18:16
20 lines
1802 bytes
Arrays are always passed by reference not by value.  Even when you don't use
an ampersand it is still passed by reference.  I don't even think you can
add an ampersand.

--

Micah

{Eternity is not everlasting...}
"richardcrane" <richardcrane@ntlworld.com> wrote in message
news: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: <sYzi6.95441$R5.4103496@news1.frmt1.sfba.home.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-01!supernews.com!newshub2.rdc1.sfba.home.com!news.home.com!news1.frmt1.sfba.home.com.POSTED!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: 109fba,4b7be81e9b0e1dc7
X-Google-Attributes: gid109fba,public
X-Google-Thread: 114592,4b7be81e9b0e1dc7
X-Google-Attributes: gid114592,public
X-Google-ArrivalTime: 2001-02-14 10:16:56 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-01!supernews.com!newshub2.rdc1.sfba.home.com!news.home.com!news1.frmt1.sfba.home.com.POSTED!not-for-mail
From: "Siper" <nospam@yahoo.com>
Newsgroups: alt.comp.lang.learn.c-c++,comp.lang.c++,ctdl.lang.c++
References: <Ahxi6.6779$mO6.136359@news6-win.server.ntlworld.com>
Subject: Re: Arrays in C++
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Message-ID: <sYzi6.95441$R5.4103496@news1.frmt1.sfba.home.com>
Date: Wed, 14 Feb 2001 18:16:56 GMT
NNTP-Posting-Host: 65.11.46.27
X-Complaints-To: abuse@home.net
X-Trace: news1.frmt1.sfba.home.com 982174616 65.11.46.27 (Wed, 14 Feb 2001 10:16:56 PST)
NNTP-Posting-Date: Wed, 14 Feb 2001 10:16:56 PST
Organization: Excite@Home - The Leader in Broadband http://home.com/faster