Difference between revisions of "Talk:138: Pointers"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
(Unlikely explanation :-))
Line 6: Line 6:
  
 
The problem with 0x-1 is not that it's missing digits, it's that the memory in the computer is represented as a closed loop. So if you try to go back to the cell "before the first cell", you will really access the last cell, 0x-1 really equals to 0xFFFFFFFF in the 32-bit address space. Evidently, Cueball had found a way around this only it didn't quite work out. (People deeply interested in the workings of the pointers should also read about the memory protection modes and alignment requirements, both of which might interfere with reading from the address 0xFFFFFFFF.) [[Special:Contributions/108.162.246.5|108.162.246.5]] 00:33, 28 January 2014 (UTC)
 
The problem with 0x-1 is not that it's missing digits, it's that the memory in the computer is represented as a closed loop. So if you try to go back to the cell "before the first cell", you will really access the last cell, 0x-1 really equals to 0xFFFFFFFF in the 32-bit address space. Evidently, Cueball had found a way around this only it didn't quite work out. (People deeply interested in the workings of the pointers should also read about the memory protection modes and alignment requirements, both of which might interfere with reading from the address 0xFFFFFFFF.) [[Special:Contributions/108.162.246.5|108.162.246.5]] 00:33, 28 January 2014 (UTC)
 +
 +
Cueball could be playing a card game (e.g. Solitaire), and Black Hat could be telling him to play the Ace. In a rather obscure way, though. --[[Special:Contributions/141.101.81.225|141.101.81.225]] 17:46, 25 August 2014 (UTC)

Revision as of 17:46, 25 August 2014

Rikthoff (talk) The issue date is definitely off. Can anyone fix this?

--done (yes, anyone can fix this.) Divad27182 (talk) 18:49, 23 February 2013 (UTC)

Wait until he finds out they're codes for that old saving system. 21:42, 3 June 2013 (UTC)

Or perhaps the Black Hat _is_ answering the question but in an obscure way. The addresses might be pointing to the locations where the game keeps its important information (such as the score count or the level), so it can be cheated by changing the data at these locations.

The problem with 0x-1 is not that it's missing digits, it's that the memory in the computer is represented as a closed loop. So if you try to go back to the cell "before the first cell", you will really access the last cell, 0x-1 really equals to 0xFFFFFFFF in the 32-bit address space. Evidently, Cueball had found a way around this only it didn't quite work out. (People deeply interested in the workings of the pointers should also read about the memory protection modes and alignment requirements, both of which might interfere with reading from the address 0xFFFFFFFF.) 108.162.246.5 00:33, 28 January 2014 (UTC)

Cueball could be playing a card game (e.g. Solitaire), and Black Hat could be telling him to play the Ace. In a rather obscure way, though. --141.101.81.225 17:46, 25 August 2014 (UTC)