Quote
We're not talking about machine level. Even compiler's themselves treat pointers just like numbers. Print the value of a pointer, cast it into a number, print it out again. The contents are interpreted identically.
Read my response to Mikeblas. I understand why people disagree with me. Now, understand why I disagree with them. Strings are not numbers, try casting a string to number and see how its contents get interpreted (it's probably not possible, but you get my point). But the abstraction between pointers and numbers (to me) is almost non-existent. Besides a compiler fixing a pointer arithmetic, there's absolutely nothing else to them.
NickDMax, on 13 Jun, 2009 - 07:55 AM, said:
That's the thing, Nick. Of course it can be represented as a data structure. But I've never even heard of such implementation (in C\C++). And that's what I've been asking you guys for. If such implementation exists, then I've been wrong all along and will admit it.
This post has been edited by Dantheman: 13 June 2009 - 09:21 AM

New Topic/Question
Reply





MultiQuote






|