Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

C++ Tutorial - 16 - Creating a Pointer

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
82,057
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Dec 20, 2008

Part 17 - http://www.youtube.com/watch?v=KkNpSJTrTvA&fmt=18

Address Operator in C . If you have any questions you can ask me at my site http://thenewboston.com

Category:

People & Blogs

Tags:

License:

Standard YouTube License

  • likes, 10 dislikes

Link to this comment:

Share to:

Top Comments

  • you could just use: "int *pointer = &finger;"

  • he calls it a star...

    DEAL WITH IT

see all

All Comments (200)

Sign In or Sign Up now to post a comment!
  • pointers are useful on returning variables to the main function as such

  • These tutorials are a cut above the rest available on youtube because you speak very clearly and you keep your video short, clean, and to the point. Keep up the great work and thanks!

  • @Ezmbro what don't you get about those two statements?

  • @MrAlditho they are an essential part of programming because they allow you to manipulate variables without having to pass a whole bunch of copies to functons and returning them. All it is a variable that holds an adress of another variable once you wrap your head around it you will understand they take practice

  • Pointers are really difficult, and really I can't understand the reason of their existence. Man, if pointers are that difficult why does EVERYONE have them in "beginner" tutorials. This is intermediate to guru, not beginner...

  • the first one shows the value of finger, and the second one shows the address of finger

  • 1 question...when we did the thing as...int finger; cout<<finger<<endl; cout<<&finger<<endl; it showed me a code , and when we do it as int finger; int *pointer; pointer= &finger; cout<<pointer<<endl; it shows another code, why is that? thanks, btw. guide is epic! learned more like this than at class on colledge ;)

  • @ijustlovedogs13 this based on my understanding

  • Address Operator just SHOWS where your data is stored and Pointers is a variable that HOLDS the adress in your memory ..

  • thx bucky one of your example came in my ex same love you

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more