Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #31896

Re: C array descriptor

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.datemas.de!rt.uk.eu.org!aioe.org!.POSTED!not-for-mail
From "Rod Pemberton" <dont_use_email@xnothavet.cqm>
Newsgroups comp.lang.forth
Subject Re: C array descriptor
Date Thu, 26 Jun 2014 18:07:51 -0400
Organization Aioe.org NNTP Server
Lines 16
Message-ID <op.xh203dwk6zenlw@localhost> (permalink)
References <eff9d8fc-6d13-4e4b-9a01-33be4550e27d@googlegroups.com> <bZKdnd1wUcOMGjfOnZ2dnUVZ_tWdnZ2d@supernews.com> <op.xh06o9r46zenlw@localhost> <857g44dwrn.fsf@junk.nocrew.org>
NNTP-Posting-Host CNsg4fVcCsvs3UaOgZtQCw.user.speranza.aioe.org
Mime-Version 1.0
Content-Type text/plain; charset=iso-8859-1; format=flowed; delsp=yes
Content-Transfer-Encoding 7bit
X-Complaints-To abuse@aioe.org
User-Agent Opera Mail/12.16 (Linux)
X-Notice Filtered by postfilter v. 0.8.2
Xref csiph.com comp.lang.forth:31896

Show key headers only | View raw


On Thu, 26 Jun 2014 02:12:44 -0400, Lars Brinkhoff <lars.spam@nocrew.org>  
wrote:
> Rod Pemberton writes:

>> C doesn't have arrays either.  C has pointers.  C has a subscript
>> operator [] which uses a pointer and scaled index.  What C has is
>> the ability to declare the space for an array.  That's it.  That's
>> the *only* thing in C that C has which involves an array.
>
> There's also sizeof.

Yeah, but that's still not a use of an array in C.
It simply returns the size of the declaration.


Rod Pemberton

Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

C array descriptor Roger Levy <roger.levy@gmail.com> - 2014-06-24 19:45 -0700
  Re: C array descriptor Andrew Haley <andrew29@littlepinkcloud.invalid> - 2014-06-25 03:23 -0500
    Re: C array descriptor Segfaults R Us <seg4u@segue.org> - 2014-06-25 08:45 +0000
    Re: C array descriptor Roger Levy <roger.levy@gmail.com> - 2014-06-25 07:03 -0700
    Re: C array descriptor "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-06-25 18:13 -0400
      Re: C array descriptor Roger Levy <roger.levy@gmail.com> - 2014-06-25 17:03 -0700
      Re: C array descriptor Lars Brinkhoff <lars.spam@nocrew.org> - 2014-06-26 08:12 +0200
        Re: C array descriptor "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-06-26 18:07 -0400
          Re: C array descriptor Lars Brinkhoff <lars.spam@nocrew.org> - 2014-06-27 07:50 +0200
      Re: C array descriptor Andrew Haley <andrew29@littlepinkcloud.invalid> - 2014-06-26 04:10 -0500
        Re: C array descriptor "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-06-26 18:07 -0400
          Re: C array descriptor bruce.mcfarling@gmail.com - 2014-06-26 22:14 -0700
          Re: C array descriptor Andrew Haley <andrew29@littlepinkcloud.invalid> - 2014-06-27 03:39 -0500
            Re: C array descriptor Mark Wills <markwills1970@gmail.com> - 2014-06-27 03:32 -0700
              Re: C array descriptor Andrew Haley <andrew29@littlepinkcloud.invalid> - 2014-06-27 06:00 -0500
                Re: C array descriptor Roger Levy <roger.levy@gmail.com> - 2014-06-27 07:34 -0700
                Re: C array descriptor bruce.mcfarling@gmail.com - 2014-06-27 09:42 -0700
                Re: C array descriptor Roger Levy <roger.levy@gmail.com> - 2014-06-27 09:51 -0700
                Re: C array descriptor bruce.mcfarling@gmail.com - 2014-06-27 15:32 -0700
        Re: C array descriptor Bernd Paysan <bernd.paysan@gmx.de> - 2014-06-27 03:40 +0200

csiph-web