Re: Good Tutorials
- From: Richard<rgrdev@xxxxxxxxx>
- Date: Thu, 25 Sep 2008 10:46:37 +0200
Nick Keighley <nick_keighley_nospam@xxxxxxxxxxx> writes:
On 24 Sep, 17:46, Keith Thompson <ks...@xxxxxxx> wrote:
Nick Keighley<nick_keighley_nos...@xxxxxxxxxxx> writes:
On 23 Sep, 18:21, Richard<rgr...@xxxxxxxxx> wrote:
This constant desire to confuse people with a "pointer is not an
address" is simply ridiculous. It is an "address". You address an object
or memory or whatever through it. One representation of that address is
as a value which can be displayed as a hexadecimal memory "address".
this was wrong the first time you said it. It is still wrong.
Um, how is it wrong?
A pointer is an address; the way the standard defines the terms,
they're nearly synonymous (though I suspect Richard is using the term
"address" in some more hardware-specific way). And it's always
possible to represent a pointer value / address in hexadecimal; even
if "%p" doesn't do this, you can interpret its representation as an
array of unsigned char.
An address is not a number (though it's often implemented that way),
but Richard didn't make that particular claim here.
yes. I meant "a pointer is not a number" rather than "a pointer
is not an address". I interpreted "it's always possible to represent
a pointer value / address in hexadecimal" as "a pointer is a number".
So where was I wrong?
And and address on MOST platforms IS represented as a number ....
This whole issue is somewhat silly.
.
- Follow-Ups:
- Re: Good Tutorials
- From: Ben Bacarisse
- Re: Good Tutorials
- References:
- Good Tutorials
- From: Amkcoder
- Re: Good Tutorials
- From: Richard Heathfield
- Re: Good Tutorials
- From: MisterE
- Re: Good Tutorials
- From: Richard Heathfield
- Re: Good Tutorials
- From: Ben Bacarisse
- Re: Good Tutorials
- From: Amkcoder
- Re: Good Tutorials
- From: jameskuyper
- Re: Good Tutorials
- From: Amkcoder
- Re: Good Tutorials
- From: Richard Heathfield
- Re: Good Tutorials
- From: Amkcoder
- Re: Good Tutorials
- From: Richard
- Re: Good Tutorials
- From: Nick Keighley
- Re: Good Tutorials
- From: Keith Thompson
- Re: Good Tutorials
- From: Nick Keighley
- Good Tutorials
- Prev by Date: Re: Comment Style
- Next by Date: Re: a problem about windows memory
- Previous by thread: Re: Good Tutorials
- Next by thread: Re: Good Tutorials
- Index(es):
Relevant Pages
|