R
Richard Bos
DHOLLINGSWORTH2 said:if it wern't youd be wondering what a pointer is for.
No, I wouldn't. If it _were_ I'd be wondering why we don't just use a
humongous integer as a pointer, but since I know that memory needn't be
flat, I realise that the purpose of pointers is to give us a reliable
way to address objects in memory, _regardless_ of how that memory is
arranged.
How to clear up the ambiguity and what not.
_What_ ambiguity? Make sense, man - cut the non sequiturs!
if it weren't you would not be able to this:
char * text = "Some bs text to prove a DA point";
char text2[32];
int * pitext = text;
int * pitext2 = text2;
Surprise, surprise: you _aren't_ guaranteed to be able to do that.
(Apart from which, do note that pointers to void and to char types have
special properties. Pointers to, and arrays of, struct and int do not.)
MEM is also just an array of bits;
also just an array of bytes;
also just an array of short's;
but where the i86 architecture is concerned
it's most like an array of int's.
Who says the i86 architecture is the corner-stone of the computing
world? There are other processors, you know.
I'll give you that, my specialty is doing all the Dirty NON-STANDARD work
you think can't get done.
That has nothing to do with comp.lang.c. This newsgroup discusses ISO C,
not gcc or MSVC half-assembler.
Richard