-=> On 09 May 98 07:04:01 you wrote to me <=-
Hi Bill,
> Sure these two [...] have the same numerical value [...]
BB> While C does use "pass by value", size does count I agree. I can't
BB> remember what this was all about, so I've forgoten how sex comes into all
BB> this. :-)
> I /still/ disagree! IMHO, argv is an array of pointer
> to char, or more accurately, a pointer to pointer to char.
BB> Then we will just have to agree to differ about levels of
ndirection.
BB> :-) An array of whatever sort is promoted to a pointer when passed as a
BB> parameter to a function, so I don't see much difference - argv is one of
BB> the parameters passed by main.
Agreed.
BB> I think of argv as a pointer to an array of pointers to char,
BB> but you pays your penny and you takes your choice. :-)
If argv is a pointer to an array of pointers to char, then you
should declare it like this:
char **argv[];
BB> I've kinda lost the thread of this, Michael. Iain (my son)
BB> has just got married, and I've spent a week on more important
BB> things. :-) It puts things in perspective a bit. :-)
Congratulations!
BB> I won't enter the republican debate, mate.
Hey, you were the one saying I was treasonous! :) I was merely
pointing out that such statements might be treasonous for a British
subject to make, but not an Australian. Context can be important. :)
BB> It's up to you whether you want a pommy queen or not. It
BB> strikes me Dame Edna might well be the genuine home-grown
BB> article, so look no further. :-)
Indeed. :)
Michael Stapleton of Graphic Bits. mikes@incybr.com.au
* AmyBW v2.14+ *
... This tagline is encrypted
--- AdeptXBBS v1.11z (FREEWare/2)
---------------
* Origin: Mach One BBS (3:713/615)
|