This last hour watching this video was the best hour of education I had in years ! Although I previously knew about pointers, I didn't miss a second.
@richy24964 жыл бұрын
This guy really knows how to teach. Out of all the videos I've watched about pointers, this one clarified the concept at a fundamental level.
@PapaWilk10 жыл бұрын
This lecture makes me unbelievably happy. Richard's explanation of pointers is simply brilliant. He then performs some hilarious magic tricks and even rewards his students with 256 Mars bars. This is amazing!
@Winged4Ever11 жыл бұрын
Totally gonna watch his lectures instead of ones that I can listen on my university, cause this guy's explaination skill rocks!
@supaponhia686410 жыл бұрын
You are the best professor in the WORLD. Thank you for sharing video on youtube.
@aryamankarde473 Жыл бұрын
Nothing between these walls ever leaves this walls, loved your confidence sir.
@Gelar939 жыл бұрын
Wow this guy is genuinely interested in teaching, he was so good that I, who has a hard time focusing in a real class, sat in front of my laptop and watched it all in one setting with focus. Wish more professors were like him.
@ChaosRevealsOrder8 жыл бұрын
WILLIAM such a good question 17:45 . I was searching for hours on internet WHY,WHY,WHY should we use pointers instead of normal variables. Mr.Richard is an amazing teacher
@s3bbe133710 жыл бұрын
I wish my professor was this enthusiastic!
@333321810 жыл бұрын
Finally understood pointers !! Best lecture ever. Truly educational.
@paulmaxwell-walters88615 жыл бұрын
Had the pleasure of meeting and attending lectures by Richard Buckland at UNSW. He is a legend and a brilliant, well loved lecturer. An asset to the university.
@vitamink36 жыл бұрын
Incredible! I spent last few days trying to understand pointers and this video explained it so beautifully. He not only explained what pointers are but also why do we need it.
@krissapkota71512 жыл бұрын
ur awsome..non of my teachers are like u..they never teach us like this...they just gives me power point slides and say me to do everything...this is very helpful to me...thank u so much..
@c99tutorial10 жыл бұрын
Jump to 4:18 to go right to the pointer discussion.
@nishilshah1406927 жыл бұрын
But you'll miss out on the best part
@bharathkumar-ji4if5 жыл бұрын
thank u
@conradnal89344 жыл бұрын
Fortunately I've started to read the comments while watching the video. Thx man
@vedranart12 жыл бұрын
Oh darn, when I see proffessors like this Im sad that theres not more of them like this one, great study, fun explaining of things, and compairing things from everyday use with virtual things. That was a nice hour of great education!
@bako31788 жыл бұрын
Wow. I've been looking everywhere for a good pointer (pun intended) to pointers, and this by far has to be the best. Cleared up everything I was unsure of. Amazing lecturer!
@xanderlewis11 ай бұрын
14:53 This example is enlightening. Thinking about it will teach you a bit about how C compilers usually work. They usually have a notion of 'lvalues' (expressions that can appear on the left hand side of the assignment operator) and 'rvalues' (expressions that can't). In his example (&&&***x), we'd have to assume that x is at least an n-fold pointer (so that we can dereference it at least three times). We can then apply the reference (&) operator once to get the address of this value, but the second use of & is where it already goes wrong. At that point, we're trying to get the address of an rvalue - something that doesn't live at a memory address, but is just an expression floating around ready to be used. If you try it in C, it won't even compile. He suggests trying the other way around (***&&&x), but this has the same problem at the second use of &. One way to do something that WILL work is to try declaring x and then successively declaring pointers to x, pointers to this pointer, and so on. If you do this, you can successfully dereference the final pointer three times to get back x. TLDR: any occurrence of '&&' is going to fail.
@AndroidOO310 жыл бұрын
Like the fifth video I've looked up, this one has taught me everything i could want to know at this stage and more. This guy 's a great teacher!
@mdmjwarner12 жыл бұрын
Wow, months of studying c and c++ = 0 understanding of pointers. 48 minutes of this guys lecture and I can use them with ease.
@Bikaln12 жыл бұрын
Just loved it...understood every bit of pointers..undoubtedly the best professor ever. Please don't stop the good work and keep on uploading his lectures..we'd be really grateful to you!!
@zerox227x10 жыл бұрын
ok i'l admit i thought i was done for in coding C. discourage and unmotivated because no one could really teach me well and i tried all sorts of tricks and tips to help me learn so i wouldn't be a burden to anyone, but after seeing this vid about 1 to 2 hr later i fully understand the subject that cause me to drop my class because it was too heavy in use. now im confident that i will ace my class up coming semester thank you his teaching style make you understand it perfectly.
@big_lawyer Жыл бұрын
For those here in 2023, hit the like button😅😅😅... I totally love this Professor's passion. He made Pointers absolutely look easy peasy. Thank you Professor Richard
@justcurious1940 Жыл бұрын
why lawyers learn C🙃
@big_lawyer Жыл бұрын
@@justcurious1940 because lawyers have to know a bit of everything 😂😂😂
@justcurious1940 Жыл бұрын
@@big_lawyer make sense
@rohitmundada7038 жыл бұрын
Wow.... That's a beautiful lecture that surely removed all my doubts about pointer... And the guy makes things quite simple and easier to understand... Great job Sir...
@medievalogic10 жыл бұрын
The quality of teaching is just insane, everything is so clear, i wish all of the colleges in India would teach this way :/
@knownuser08159 жыл бұрын
note to self: x is actually )( and & is actually 8
@aya68168 жыл бұрын
or gamma
@steveokinevo10 жыл бұрын
More teachers like this guy needed for sure. Things get complicated when ya look at stuff like int **p1 / array of pointers / pointer to an array of x / function pointers, etc... list goes on.
@s.d.gentry13549 жыл бұрын
one of the best explanations I have seen about pointers to pointers (the crazy exam question example).
@say-cred10 жыл бұрын
BEST EDUCATIONAL VIDEO I HAVE SEEN BEST LECTURER I HAVE SEEN AMAZING VIDEO AMAZING MAN 10/10 THANK YOU SO MUCH
@MrCavitysChessCorner12 жыл бұрын
Watched the magic tricks at the end out of respect for quality lesson -- ended up learning another lesson. Thanks for making this -- it was really really helpful.
@anttihaapala45795 жыл бұрын
"In other languages, [scoffs] you write like this: p1 is a pointer to int, but in C we write it like this: star-p is an int." Brilliant!
@jaken828 жыл бұрын
I love this guy's passion and energy. I have been trying to get my head around pointers for ages and just avoided them. Now I understand!
@VahiMangai4 жыл бұрын
Hope he hasn’t started another sars equivalent Hunh, how uh, serendipitous
@vineethk85164 жыл бұрын
Watching this video in quarantine
@dolessaymore3 жыл бұрын
Joke didn’t age well
@JeebuJacobThomas10 жыл бұрын
Excellent way of teaching... Not just pointers.. but infact anything for that matter!
@francoc34957 жыл бұрын
I wish I had him as a professor. This one video has helped me understand pointers than prior professors or textbooks.
@theyugesh3889 жыл бұрын
what a lecture!!!!!!!! SO MUCH DEDICATED IN THEIR WORK HOPE U KEEP UP THE GOOD JOB:)
@tanjagray99546 жыл бұрын
Brilliant. Thank you so much. I've gone over the lecture material for my own uni so many times trying to grasp this. That was so clear.
@mirlamontano66409 жыл бұрын
I finally understood how can I use pointers, great lesson! (also, the teacher is so sweet c: doing magic tricks and bringing presents hahaha aww) thanks for uploading this!
@msven11 жыл бұрын
Great stuff! Our class didn't go into the usefulness of it and now it makes SOO much more sense. Thanks!
@joch308510 жыл бұрын
This is way clearer than the lecture I had today about pointers.
@SedaNurDoganay9 жыл бұрын
can't unsee the John Green in you :D Thank you so much for your clear expression of the pointers and thank you for your great passion!
@FatmirSaiti12 жыл бұрын
This is the best professor I've seen so far! And I've seen a lot. I'm 35 and still studying, so go figure it :)))
@AshwinPraveen11 жыл бұрын
I really really really enjoyed this class, He's like the liveliest teacher I've ever known!!!!
@PrimitiveBaroque10 жыл бұрын
hands down the best video on pointers. amazing lecture
@FrankBudino6 ай бұрын
Amazing lecturer, some people are born to be teachers
@Ashokgadeking8 жыл бұрын
A simple explanation of pointers. int* creates a pointer variable which can store the address of another integer. if we say int* a, a is now ready store the address of int b. To get the address of variable b, we say &b. So now we can say a = &b; . We should also remember that a also has an address and can be referred to by saying &a. *a returns the value stored at the address stored in a. That is b. Lol!
@Ashokgadeking7 жыл бұрын
I have not touched java in a while. a should return the address and *a should give the value stored at that address if my understanding of pointers is still intact.
@rishabhjain24047 жыл бұрын
thanks for the explaination.. this was the only thing missing in the lecture
@YoVille4516 жыл бұрын
That is &b *
@TheShagans11 жыл бұрын
This was extremely helpful. Always nice to have that crazy teacher liven things up.
@tomken59198 жыл бұрын
Finally understand pointers now thankyou!!! Only lecture able to explain the purpose of pointers.
@a1arjun0211 жыл бұрын
I feel exactly the same way, I studied computer science @ University of Hertfordshire. Complete SHAM, no C taught what so ever. All I learned was JAVA. Working as a Telecoms Engineer in embedded development. I find my self struggling, however this video cleared pointers up for me Thanks you Sir
@jonathankim19997 жыл бұрын
This guy is amazing! He makes things so easy to understand. Good refresher.
@_slier14 жыл бұрын
actually pointers is easy.. what make its hard is,ppl always wonder why we learn it thank you richard for clearing this up basically pointers are use to overcoming scoping limitation
@isaackay58874 жыл бұрын
LMAO at that joke @0:58....watching this in mid-March of 2020 XD
@justcurious1940 Жыл бұрын
Cables ?
@CanadianMang12 жыл бұрын
Finally I understand pointers! This is a very good teacher.
@AdvaTced5 жыл бұрын
One of the best guides, subscribed to this channel!
@jethrobailey835810 жыл бұрын
this guy is a top class lecturer!
@RevolutioZ12 жыл бұрын
Wow, this guy propably made me find what im going to do after high school! Programming is so interesting!
@harai60637 жыл бұрын
i love professor voice and his teaching style.
@SAURABHJAIN198910 ай бұрын
At 13:55 How *2 is 4? *2 should give the address of variable 2 (x) and that should be 10. As x was pointing to the value 2 at &x, 10. Isn't it?
@LCaaroe13 жыл бұрын
Holy shit this is useful. I wish my teachers were as engaged in the subject as this guy is.
@Nockoutz15 жыл бұрын
This really helped me understanding pointers , I wish I had teachers like this guy.
@ameegosar10 жыл бұрын
I'm confused at 29:00 if we pass the address of x and y isn't task expecting the address p1 and p2? Why do we write the argument list as value int *p1 and int *p2?
@benjamenhartley865810 жыл бұрын
didn't know John Green knew so much about programming. Cool guy!
@filosofiadetalhista4 жыл бұрын
The same comparison crossed my mind! Hahaha
@HK-sw3vi4 жыл бұрын
this teacher is a gifted one.
@lub09414 жыл бұрын
i've watched a lot tutorials about pointers and i haven't understood them till now, THANKS !
@MineCrafterCity9 жыл бұрын
I thought this would be difficult to understand, but you explain very well. thanks!
@GGShinobi7712 жыл бұрын
what an enthusiastic performance! you can see he's doing it with passion and is having fun. An excellent teacher. :) And also thanks a lot! I've always felt that the use of * was inconsistent in C, thought that it was different when used in declarations compared to the rest of the program - until that great explanation! :))
@rickyoswald13 жыл бұрын
@axelasdf The pointer is the first element of the array. You can fall off the end of the array (into other memory). I think stopping it falling off the end is a compile-time trick, but I am not 100% certain of that.
@naruto-49908 жыл бұрын
at 14:58 if we print &x (where x = 2 also there is a 2 in cell no 1) we get the result as 10 but if we try print &6 as seen 16:18 we cant do it?, i am so confused can somebody explain?
@TheIndividualOne11 жыл бұрын
Amazing professor, crystal clear explanation! Kinda looks like wilson from house
@swatisharma7657 жыл бұрын
If only we had teachers like you! Thanks a ton for this!!!
@king3834415 жыл бұрын
Awesome style of teaching, learning made fun.... Thank you Mr.Richard :)
@revanthkumar705910 жыл бұрын
Awesome.. The best teacher in world
@0ldfashi0ned11 жыл бұрын
This dude is absolutely brilliant!!! Wonderful explanation!
@videos2laugh9616 жыл бұрын
good lecture!! like the magic :) His passion is just awesome
@intindse14 жыл бұрын
Richard is the BEST TEACHER EVAR!
@Vishanseru912 жыл бұрын
Now those are the kind of teachers we need!
@bondservant4Him12 жыл бұрын
It depends on your coding style.. Ive worked with some C programmers who would instinctively only dereference stucts with (*list).push_back() to stay consistent with dereferencing more basic pointers. It all boils down to style.
@myonlynick7 жыл бұрын
introduction to the concept of pointers. Cool video.
@LUX111111111111110 жыл бұрын
this guy is so talented in teaching!
@tressaortiz20782 жыл бұрын
Not the professor talking about a SARS outbreak from Hong Kong 12 years before COVID. really tripped me out to hear lol
@Ahliddin00715 жыл бұрын
Thank you very much Richard! You really know the good way of teaching!
@shadyganem54484 жыл бұрын
"Hopefully I didn't start a SARS equivalent " lol
@0011usagi12 жыл бұрын
This feel inside me, you're good for me Very comprehensive course, thanks for that
@bondservant4Him12 жыл бұрын
not if you dereference it, in fact it makes more sence to declare it int *i because you will rarely call it by i except in the beginning when you point it somewhere.
@websailor9312 жыл бұрын
This is so good! I finally understood the basics of pointers!
@HM-fp4mm8 жыл бұрын
Could anybody post a link to the whole playlist or tell me how to find it? I seem to look for it, but with no success so far. Thanks
@SameerBalasubrahmanyam10 жыл бұрын
Best teacher ever! How I wish he was my mentor :(
@b99215211 жыл бұрын
Wow, come now, this guy is fantastic! I wish I could have a king of education like they have!
@kennethafstedt62318 жыл бұрын
Just great, it's a pity that my teacher wasn't anything close to this.
@kadersniper10 жыл бұрын
this is the best tutorial ever i know how pointers works now thanks Richard
@P_S_4212 жыл бұрын
my prof just read his code out loud for 60 mins without explaining it... thank you for uploading this.
@BritchesBumble579 жыл бұрын
I got confused at 13:40 X = 2, that makes sense, but why does it then go on to use the value 2 as an address, and look up the value stored at address 2? this part makes no sense to me whatsoever.
@forbidden.4049 жыл бұрын
BritchesBumble57 Because the * operator specifies the variable as a pointer. X = 2, the variable X holds the value 2 as an integer, but when one uses the * operator, one's saying that X is a pointer that points to the Address 2. 2 stopped being an integer value and now is an address in the memory.
@Foaman3 жыл бұрын
It would be easier to understand if the chalk were better. By the time he got to x, I didn't know that x was assigned to 2 because I didn't see the flowline encircling 2 and x.
@EngRona12 жыл бұрын
Oh my God,,amazing;thanks is a very little word ;thank you very very very very much; God bless and guide you Rana from Egypt
@DTX_8 жыл бұрын
Hell, what a great teacher. So passionate :)
@sepidet69707 жыл бұрын
cant be better explained as this, thank you so much.
@qettyz12 жыл бұрын
This was a great tutorial for pointers! Big thanks for uploading this!
@RandomGameHall13 жыл бұрын
what happens if we point to a pointer that is not a constant and that pointer is also not pointing to a constant value?
@ephsonguakro45837 жыл бұрын
I love this lecture........so much!!!!! Now I don't have to read my boring pdf on pointers
@ganstabreakincity6 жыл бұрын
After 3 years of computer science in college (We study using java not C/C++) I understood pointers XD thank you!