Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.forth > #32848
| From | "Rod Pemberton" <dont_use_email@xnothavet.cqm> |
|---|---|
| Newsgroups | comp.lang.forth |
| Subject | Re: Write once C and forth structs |
| Date | 2014-08-04 17:43 -0400 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <op.xj27x6fg6zenlw@localhost> (permalink) |
| References | (1 earlier) <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> |
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
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