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


Groups > comp.lang.forth > #32848

Re: Write once C and forth structs

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.ecp.fr!aioe.org!.POSTED!not-for-mail
From "Rod Pemberton" <dont_use_email@xnothavet.cqm>
Newsgroups comp.lang.forth
Subject Re: Write once C and forth structs
Date Mon, 04 Aug 2014 17:43:08 -0400
Organization Aioe.org NNTP Server
Lines 39
Message-ID <op.xj27x6fg6zenlw@localhost> (permalink)
References <lriebl$ms5$1@dont-email.me> <lrij4s$5jc$1@online.de> <9358212d-746d-4331-b5e5-ded39e632cd7@googlegroups.com> <95f6c055-6369-456d-9356-e5d44c62e47f@googlegroups.com> <op.xj16l3cy6zenlw@localhost> <obydnThvHNyiKkLOnZ2dnUU7-YWdnZ2d@supernews.com>
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:32848

Show key headers only | View raw


On Mon, 04 Aug 2014 12:39:27 -0400, Andrew Haley  
<andrew29@littlepinkcloud.invalid> wrote:
> Rod Pemberton <dont_use_email@xnothavet.cqm> wrote:
>> On Mon, 04 Aug 2014 00:03:22 -0400, <hughaguilar96@yahoo.com> wrote:

>>> The big problem here, is that C structs are limited
>>> to always starting at 0.
>>
>> What? ...
>>
>> In fact, I have absolutely no idea what you're even
>> attempting to say here.  Please explain what you
>> mean by:
>>
>>   "C structs are limited to always starting at 0".
>
> He's talking about type extension.  Like this in C++:
>
> typedef struct {
>   int one;
> } a;
>
> typedef struct : a {
>   int two;
> } b;
>
> Here, struct b extends a.
>

"C structs are limited to single, discrete instances."

C structs can be placed at any available memory location, i.e.,
start at a non-zero location.

So, "... starting with 0" really has nothing to do with this ...
It's just Hugh's bad choice of wording.


Rod Pemberton

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


Thread

Write once C and forth structs Hannu Vuolasaho <vuokkosetae@gmail.com> - 2014-08-02 13:25 +0300
  Re: Write once C and forth structs Bernd Paysan <bernd.paysan@gmx.de> - 2014-08-02 13:47 +0200
    Re: Write once C and forth structs Hannu Vuolasaho <vuokkosetae@gmail.com> - 2014-08-02 15:40 +0300
      Re: Write once C and forth structs Bernd Paysan <bernd.paysan@gmx.de> - 2014-08-02 19:08 +0200
    Re: Write once C and forth structs hughaguilar96@yahoo.com - 2014-08-02 20:47 -0700
      Re: Write once C and forth structs hughaguilar96@yahoo.com - 2014-08-03 21:03 -0700
        Re: Write once C and forth structs "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-08-04 04:16 -0400
          Re: Write once C and forth structs Andrew Haley <andrew29@littlepinkcloud.invalid> - 2014-08-04 11:39 -0500
            Re: Write once C and forth structs Bernd Paysan <bernd.paysan@gmx.de> - 2014-08-04 22:35 +0200
              Re: Write once C and forth structs anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-08-05 12:33 +0000
                Re: Write once C and forth structs hughaguilar96@yahoo.com - 2014-08-05 20:31 -0700
                Re: Write once C and forth structs Raimond Dragomir <raimond.dragomir@gmail.com> - 2014-08-05 21:45 -0700
                Re: Write once C and forth structs Raimond Dragomir <raimond.dragomir@gmail.com> - 2014-08-05 21:45 -0700
                Re: Write once C and forth structs humptydumpty <ouatubi@gmail.com> - 2014-08-05 23:00 -0700
                Re: Write once C and forth structs "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-08-06 16:38 -0400
                Re: Write once C and forth structs hughaguilar96@yahoo.com - 2014-08-06 17:18 -0700
            Re: Write once C and forth structs "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-08-04 17:43 -0400
            Re: Write once C and forth structs Samuel DEVULDER <samuel-dot-devulder-at-laposte-dot-net> - 2014-08-05 08:26 +0200
              Re: Write once C and forth structs hughaguilar96@yahoo.com - 2014-08-05 20:23 -0700
                Re: Write once C and forth structs Samuel DEVULDER <samuel-dot-devulder-at-laposte-dot-net> - 2014-08-06 08:40 +0200
                Re: Write once C and forth structs hughaguilar96@yahoo.com - 2014-08-06 14:43 -0700
                Re: Write once C and forth structs Gerd Brix <gbrix@gmx.eu> - 2014-08-06 08:54 +0200

csiph-web