pointing to a adress

This is a discussion on pointing to a adress within the C++ Programming forums, part of the General Programming Boards category; k u know how if u cout a pointer it tells u the adress in memmory of it so like ...

  1. #1
    Registered User
    Join Date
    Sep 2005
    Posts
    57

    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
    Location
    Chch, NZ
    Posts
    597
    My eyes! Rewrite that in something approaching english and someone might reply.

    Hints:
    - '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 wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,484
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  4. #4
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,069
    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, 07:49 AM
  2. MAC adress
    By crvenkapa in forum Tech Board
    Replies: 1
    Last Post: 02-10-2008, 10: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, 07:19 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21