Thread: pointing to a adress

  1. #1
    Registered User
    Join Date
    Sep 2005

    pointing to a adress

    k u know how if u cout a pointer it tells u the adress in memmory of it so like edf4hg example but what if u wanted to point.

    Umm if there is an easier way mabie to acces an adress so like if an adress had a value to it and i knew the adress how would i acess it thanks this is so confusing lol

  2. #2
    semi-colon generator ChaosEngine's Avatar
    Join Date
    Sep 2005
    Chch, NZ
    My eyes! Rewrite that in something approaching english and someone might reply.

    - 'u' is a character; "you" is the second person pronoun.
    - using punctuation is neither illegal nor immoral.
    - "address" has 2 d's

    As for your question, I suspect you want the dereference operator (*).

    ul find it alot ez-er 2 srch 4 things if u know how 2 write dem.
    "I saw a sign that said 'Drink Canada Dry', so I started"
    -- Brendan Behan

    Free Compiler: Visual C++ 2005 Express
    If you program in C++, you need Boost. You should also know how to use the Standard Library (STL). Want to make games? After reading this, I don't like WxWidgets anymore. Want to add some scripting to your App?

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    Well said ChaosEngine.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  4. #4
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Out of scope
    Quote Originally Posted by ChaosEngine
    ul find it alot ez-er 2 srch 4 things if u know how 2 write dem.
    The hell you using a period for?
    Sent from my iPadŽ

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Pointer (adress) question.
    By omnificient in forum C Programming
    Replies: 22
    Last Post: 02-27-2008, 08:49 AM
  2. MAC adress
    By crvenkapa in forum Tech Board
    Replies: 1
    Last Post: 02-10-2008, 11:24 AM
  3. Adress of a pointer.
    By ozumsafa in forum C Programming
    Replies: 2
    Last Post: 09-21-2007, 02:59 AM
  4. 'Manually' give adress to pointer
    By Yuri in forum C++ Programming
    Replies: 3
    Last Post: 06-17-2006, 06:20 AM
  5. DC is not pointing to my window!
    By frenchfry164 in forum Windows Programming
    Replies: 3
    Last Post: 02-18-2003, 08:19 PM