On  0, Nicos Gollan <[EMAIL PROTECTED]> wrote:
> On Wednesday 15 May 2002 12:02, perceval anichini wrote:
> 
> > Moreover, argv + sizeof (argv[1]) is equal to argv[4] (as sizeof (char*) =
> > 4) ...
> 
> <nitpick>And then a non-32bit system came along...</nitpick>

No no no no no, that's why I used sizeof( char* ), so that it was
independant of the system word size.  argv + sizeof( argv[1] ) !=
argv[4], since the compiler is bright enough to figure out that
argv[1] is not a combination of bytes from the first and second
elements of the array.

Tom
-- 
Tom Cook
Information Technology Services, The University of Adelaide

Do not meddle in the affairs of dragons, for you are crunchy, and taste good 
with ketchup.

Get my GPG public key: 
https://pinky.its.adelaide.edu.au/~tkcook/tom.cook-at-adelaide.edu.au

Attachment: pgpytvS0vaRYC.pgp
Description: PGP signature

Reply via email to