Wow, thanks for the explanation, first watching the References(&) video, continued to Pointers video, make it very clear, and I found my understanding by watching yours, after watching dozens of pointers videos from other channels. Thanks Tim...
I am in my first year collage in a local collage in india. I have just learned about c few months back in collage and I wondered that what I have learnt was absolutely correct regarding the pointer and usage of pointer in data structures most of my classmates feels like pointers as a mysterious concept and they even feel like it's waste of time learning these shit. They just want to become toppers in semisters!! I don't why there are doing a cs degree with out learning anything about memory management and threading things like this and they even don't know whats the importance of memory management in computer science. I know I am gonna fail in all my exams as usual but I am feeling very satisfied this time with the stuff what I have learnt through internet and the oops concept from your videos they thinks this is also a tuf concept. And the most essential and important skill I learnt from you is the art of designing and strucuturing the code I am very much satisfied with the knowledge I got in this three months
I got the concept of pointers but still not sure how that would be helpful! i guess i need to dive deeper! lol i got familar with the concept of class and object oriented programming and I noticed how much I needed it! seems pointers are similar!
So to put it simply I should say that if you are going to save the value and address of one parameter you have to use a pointer. pointer actually has access to both the address and value of another parameter. (y) You will get the value and address of one parameter into another one in a different location in memory!
Hey, I love your videos, they are a great resource to learn and have taught me a lot! Once critique is that you are "using namespace std;", it is considered bad practice because it defeats the purpose of a namespace which is to avoid naming conflicts, and by "using namespace std;" you are essentially bringing back the problems in C that C++ solves.
im not saying here that using using namespace std is good, but i think you guys are exaggerating it a bit here. imo for just thing like small test programs or tutorials i think its fine
Appreciate the feedback guys! I believe I mentioned this in one of the earlier videos in the series. Definitely should have made it more clear, my apologies!
Hello, love your videos, but I had a question for you. When you make a pointer of an array, do you still have to leave out the ampersand like you do with arrays? Thank you.
(x+i) or (i+x) is same as &x[i] or &i[x]...these all are same....u do this because the pointer can hold only address...each tym i increase the pointer points to forwarding location...
Help me with my survey.❤ What do you guys personally want the features of your device but it is not available yet? Or what you want to bring change in your device? I hope this is understandable🙏
When you want to create something dynamically in runtime. You will use 'new' that returns pointer. That's one case, you can google for more cases where pointers are required!
These reference and pointer things are pretty confusing to me. I hope they aren't necessary for a majority of the things done in c++. Because I would end up having to really study up on this stuff or whatever. The way I see it is that it points to memory locations of where variables are stored? correct? Maybe I am not understanding. I don't know. I knew I would end up hitting a wall of understanding at some point.
@Peterolen yah. I think in starting to understand it better now. I researched it more and even saw another video. I take it that something like &x means something like "the address of x" and *y means "pointer y".
Wow you are the first person who was able to explain me what pointers do
you are the first guy who did explained me what these things are clearly, damn great job
Wow, thanks for the explanation, first watching the References(&) video, continued to Pointers video, make it very clear, and I found my understanding by watching yours, after watching dozens of pointers videos from other channels. Thanks Tim...
My dumbass has had this explained to me so many times but this actually makes a lot if sense now.
I am in my first year collage in a local collage in india. I have just learned about c few months back in collage and I wondered that what I have learnt was absolutely correct regarding the pointer and usage of pointer in data structures most of my classmates feels like pointers as a mysterious concept and they even feel like it's waste of time learning these shit. They just want to become toppers in semisters!! I don't why there are doing a cs degree with out learning anything about memory management and threading things like this and they even don't know whats the importance of memory management in computer science. I know I am gonna fail in all my exams as usual but I am feeling very satisfied this time with the stuff what I have learnt through internet and the oops concept from your videos they thinks this is also a tuf concept. And the most essential and important skill I learnt from you is the art of designing and strucuturing the code I am very much satisfied with the knowledge I got in this three months
Thanks a lot for explaining!!!!
Your explanation is great!!
Nice handwriting!
I know only python still I understood it because of the nice explanation 🙃
Hey Tim, Can you make a game development with c++ tutorial series pls🙏🙏🙏
TheCherno
ChillitomatooNoodle
@@belbaka8711 Yeah but he does'nt cover things like getting input or camera, anyway thanks bro!
Tim is a python guru, but I don't think he has that much experience with C++
a trick : you can watch series at Flixzone. I've been using them for watching lots of of movies during the lockdown.
@August Coleman Yea, I have been watching on Flixzone for months myself :D
7:17 Why does the output for &x change if he changed the cout statement for y?
* -> value at address
most simple explanation
I remember how mind blown I was when I first learned how to use pointers in C...
I got the concept of pointers but still not sure how that would be helpful! i guess i need to dive deeper! lol i got familar with the concept of class and object oriented programming and I noticed how much I needed it! seems pointers are similar!
@@Didanihaaaa so, 2 years later, how good are you at c++
I read pointers and I had a chill
Probably one of the most important features of C, yet all the textbooks just brush over it
So to put it simply I should say that if you are going to save the value and address of one parameter you have to use a pointer. pointer actually has access to both the address and value of another parameter. (y) You will get the value and address of one parameter into another one in a different location in memory!
Ik I'm a bit late, but I have been watching this whole series and how would I take all this information and make a video game in unreal engine?
Thank you for this very useful video!
Hey, I love your videos, they are a great resource to learn and have taught me a lot!
Once critique is that you are "using namespace std;", it is considered bad practice because it defeats the purpose of a namespace which is to avoid naming conflicts, and by "using namespace std;" you are essentially bringing back the problems in C that C++ solves.
im not saying here that using using namespace std is good, but i think you guys are exaggerating it a bit here. imo for just thing like small test programs or tutorials i think its fine
@@shahnawazazam It builds bad habits tho
@@shahnawazazam glad you shared your oppinion, however I think he should at least talk about "using namespace std;"
I agree. It's acceptable for test and toy code. So he is okay using. But he should say that it should not be used in a professional setting
Appreciate the feedback guys! I believe I mentioned this in one of the earlier videos in the series. Definitely should have made it more clear, my apologies!
The chances of TIM seeing this is very low, but can you PLEASE make more pygame tutorials, like projectile motion.
Very nice video ! I found the voice crack at 7:23 very funny ;)
Thanks
Thank you so much
Thx a lot for all your work
Can you go for pygame tutorial but from start to finish level one of beat them all?
After I understood what is a pointer, how to create a pointer and how to play with it, what is/are the utility/ies of it?
Thank you!
did you go over classes in this series?
Hi Tim, how do you learn new coding information like modules and frameworks? Do you read the documentation?
If you solve a problem related to that topic that would be really helpful for learning purposes. But great explanation though.
Hello, love your videos, but I had a question for you. When you make a pointer of an array, do you still have to leave out the ampersand like you do with arrays? Thank you.
In 11:53 why is it x + i? I thought if you need to get the number of the array, you need to do x[i]?
(x+i) or (i+x) is same as &x[i] or &i[x]...these all are same....u do this because the pointer can hold only address...each tym i increase the pointer points to forwarding location...
@@rahuldeb322 Thx for the explanation
@@mrz3 np👍...keep learning
Can you create a Course on creating a mobile app?
Which writing pad do you use?
next: functions
which font is it?
Hey, novice coder here. whats IDE is he using? it looks so clean haha
Sublime Text
Help me with my survey.❤
What do you guys personally want the features of your device but it is not available yet? Or what you want to bring change in your device?
I hope this is understandable🙏
Question: I understand how to use pointers but when would you want to use one???
When you want to create something dynamically in runtime. You will use 'new' that returns pointer. That's one case, you can google for more cases where pointers are required!
Cool
These reference and pointer things are pretty confusing to me. I hope they aren't necessary for a majority of the things done in c++. Because I would end up having to really study up on this stuff or whatever. The way I see it is that it points to memory locations of where variables are stored? correct? Maybe I am not understanding. I don't know. I knew I would end up hitting a wall of understanding at some point.
Ya that’s correct! I would recommend watching the video a few times or looking at some other resources because they are actually quite important
@@TechWithTim thanks. I will watch a few more vids of this stuff and yours again. And research it more.
@Peterolen yah. I think in starting to understand it better now. I researched it more and even saw another video. I take it that something like &x means something like "the address of x" and *y means "pointer y".
I understand, and yet I still don't understand lol. I'm in beginning programming, and after chapter 5 of Tony Gaddis I'm lost
Are you also going to make a video about structs and how2 use the arrow operator -> ???
nice idea
Selection operator(->) is used when u create a pointer to a structure or union and then u want access the members the structure.
❤❤🔥
I need a help brother my phone's rotation and gyroscope sensors are not working please help brroi
First
Are you gonna announce the giveaway
They don’t actually do them. They say that just so they can get more subscribers
@@vrajshah8075 thank you
No x-team will be picking the winner shortly !
Ok
Tim thanks
Second
Seventh
fourth
fifth
drawing can be improved a bit
tthird