Re: Zero terminated strings
- From: Moi <root@xxxxxxxxxxxxxxxxxxx>
- Date: Sun, 02 Aug 2009 13:17:48 +0200
On Sun, 02 Aug 2009 03:23:59 -0700, spinoza1111 wrote:
On Aug 2, 6:16 pm, Moi <r...@xxxxxxxxxxxxxxxxxxx> wrote:
On Sun, 02 Aug 2009 03:11:37 -0700,spinoza1111wrote:
Duh...isn't char str[] == char *str, and doesn't that mean that
stacking that struct would be a trivial operation, involving maybe 8
bytes of data? Or did that famous Standard mung that equivalence too?
OMG
Case closed.
Next!
Perhaps it isn't anymore: perhaps it never was. I do recall that these
were alternative ways of expressing an array.
I stopped using C because like Fortran and Cobol, it was (and is) an
artifact about which little sensible or intelligent could be said, and
it generated authoritarian folklore. So fill me in.
Hint: sizeof. Hint 2: lvalue.
I certainly don't believe that the above would stack the array. I
believe it would stack a pointer to the array.
How could recursion ever work if each invocation of the funtion would
actually share the same "local" variables ?
I'm not here to learn an outdated and buggy language, especially not
from you clowns. I am here to get rid of Heathfield, who makes
Then don't post here.
intelligent and humane discussion on comp.programming. But if I have to
relearn C to do so, I will. I will get Navia's compiler reinstalled on
my system if I must.
You can get plenty of help from this n.g.
If you are really willing to learn.
HTH,
AvK
.
- Follow-Ups:
- Re: Zero terminated strings
- From: Flash Gordon
- Re: Zero terminated strings
- References:
- Re: Zero terminated strings
- From: Gareth Owen
- Re: Zero terminated strings
- From: Flash Gordon
- Re: Zero terminated strings
- From: Gareth Owen
- Re: Zero terminated strings
- From: Flash Gordon
- Re: Zero terminated strings
- From: spinoza1111
- Re: Zero terminated strings
- From: Moi
- Re: Zero terminated strings
- From: spinoza1111
- Re: Zero terminated strings
- Prev by Date: Re: Zero terminated strings
- Next by Date: Re: Zero terminated strings
- Previous by thread: Re: Zero terminated strings
- Next by thread: Re: Zero terminated strings
- Index(es):
Relevant Pages
|