Thread: Address Printing

  1. #16
    Registered User
    Join Date
    Jan 2009
    Posts
    26
    Ooh, that makes sense now.

  2. #17
    Registered User
    Join Date
    Jan 2009
    Posts
    26
    Quote Originally Posted by itCbitC View Post
    where do you think pi points to? you're adding the contents of num[2] to pi and then dereferencing it not the other way around.
    When you mean dereference, are we just counting how much the change from the last address to the final address is, because that works out correctly to be 12.

  3. #18
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    Quote Originally Posted by Air View Post
    When you mean dereference, are we just counting how much the change from the last address to the final address is, because that works out correctly to be 12.
    No, we mean dereference. If you don't know it, look it up.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. What does this do (Windows API)?
    By EVOEx in forum Windows Programming
    Replies: 4
    Last Post: 12-19-2008, 10:48 AM
  2. I thought pointers were pointers...
    By keira in forum C Programming
    Replies: 19
    Last Post: 08-15-2007, 11:48 PM
  3. DX - CreateDevice - D3DERR_INVALIDCALL
    By Tonto in forum Game Programming
    Replies: 3
    Last Post: 12-01-2006, 07:17 PM
  4. printing memory at address..help!
    By myjay in forum C Programming
    Replies: 5
    Last Post: 09-21-2003, 03:58 PM
  5. Im so lost at . .
    By hermit in forum C Programming
    Replies: 18
    Last Post: 05-15-2002, 01:26 AM