C++ Tutorial - 16 - Creating a Pointer
Top Comments
All Comments (200)
-
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
you could just use: "int *pointer = &finger;"
FrozenMasters 1 year ago 34
he calls it a star...
DEAL WITH IT
SpooderW 9 months ago 11