🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.lang.f77
Article #257

Re: arrays, anyone?

#257
From: Guy Harris
Date: Tue, 10 Sep 1985 07:15
12 lines
1025 bytes
> > > Now, in C 2-d arrays are simply an array of pointers to a linear array.
> > 
> > Slight misconception here.  In C, multi-dimensional arrays are *not*
> > arrays of pointers to linear arrays.
> 
> 	Ah, but they could be if you were willing to do all the memory
> allocation and pointer set-up yourself.

In which case you'd have an array of pointers to linear arrays, not a
multi-dimensional array.

	Guy Harris
Technical Details
Message-ID: <2773@sun.uucp>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbosgd!ihnp4!ucbvax!decvax!decwrl!sun!guy
References: <390@ur-helheim.UUCP> <168@rtp47.UUCP> <455@phri.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84 SMI; site sun.uucp
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbosgd!ihnp4!ucbvax!decvax!decwrl!sun!guy
From: guy@sun.uucp (Guy Harris)
Newsgroups: net.lang.f77,net.lang.c
Subject: Re: arrays, anyone?
Message-ID: <2773@sun.uucp>
Date: Tue, 10-Sep-85 03:15:51 EDT
Article-I.D.: sun.2773
Posted: Tue Sep 10 03:15:51 1985
Date-Received: Wed, 11-Sep-85 06:29:33 EDT
References: <390@ur-helheim.UUCP> <168@rtp47.UUCP> <455@phri.UUCP>
Followup-To: net.lang.c
Organization: Sun Microsystems, Inc.
Lines: 12