21:Everything u need 2 know about pointers -Richard Buckland

(*but were afraid to ask)
Review of pointers and indirect addressing. pass by reference/pass by value. Passing arrays into functions.
3 neat things you can do with pointers:
1. pass by ref
2. dynamic data structures (to come)
3. ADTs in c (to come)
the exponential growth of doubling revisited.
magic trick where you are offered a choice - VS the importance of a good spec.
Starting to design a suduko solver. Mars bars from Hong Kong.

Пікірлер: 493

  • @CASMANWHAT
    @CASMANWHAT8 жыл бұрын

    i like this teacher's passion. helps learning.

  • @ladywebber1726

    @ladywebber1726

    3 жыл бұрын

    i finally get pointers

  • @raminmdn
    @raminmdn8 жыл бұрын

    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.

  • @s3bbe1337
    @s3bbe133710 жыл бұрын

    I wish my professor was this enthusiastic!

  • @supaponhia6864
    @supaponhia68649 жыл бұрын

    You are the best professor in the WORLD. Thank you for sharing video on youtube.

  • @VahiMangai
    @VahiMangai4 жыл бұрын

    Hope he hasn’t started another sars equivalent Hunh, how uh, serendipitous

  • @vineethk8516

    @vineethk8516

    4 жыл бұрын

    Watching this video in quarantine

  • @coreydevs

    @coreydevs

    2 жыл бұрын

    Joke didn’t age well

  • @Winged4Ever
    @Winged4Ever10 жыл бұрын

    Totally gonna watch his lectures instead of ones that I can listen on my university, cause this guy's explaination skill rocks!

  • @PapaWilk
    @PapaWilk9 жыл бұрын

    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!

  • @richy2496
    @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.

  • @isaackay5887
    @isaackay58874 жыл бұрын

    LMAO at that joke @0:58....watching this in mid-March of 2020 XD

  • @justcurious1940

    @justcurious1940

    11 ай бұрын

    Cables ?

  • @Klassenfeind
    @Klassenfeind8 жыл бұрын

    note to self: x is actually )( and & is actually 8

  • @aya6816

    @aya6816

    7 жыл бұрын

    or gamma

  • @aryamankarde473
    @aryamankarde473 Жыл бұрын

    Nothing between these walls ever leaves this walls, loved your confidence sir.

  • @AndroidOO3
    @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!

  • @ChaosRevealsOrder
    @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

  • @3333218
    @333321810 жыл бұрын

    Finally understood pointers !! Best lecture ever. Truly educational.

  • @vedranart
    @vedranart11 жыл бұрын

    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!

  • @bako3178
    @bako31787 жыл бұрын

    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!

  • @vitamink3
    @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.

  • @big_lawyer
    @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

    @justcurious1940

    11 ай бұрын

    why lawyers learn C🙃

  • @big_lawyer

    @big_lawyer

    11 ай бұрын

    @@justcurious1940 because lawyers have to know a bit of everything 😂😂😂

  • @justcurious1940

    @justcurious1940

    11 ай бұрын

    @@big_lawyer make sense

  • @SedaNurDoganay
    @SedaNurDoganay8 жыл бұрын

    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!

  • @Bikaln
    @Bikaln11 жыл бұрын

    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!!

  • @heXXXorDude
    @heXXXorDude8 жыл бұрын

    guys... sshhh shhhhh :)

  • @benjamenhartley8658
    @benjamenhartley86589 жыл бұрын

    didn't know John Green knew so much about programming. Cool guy!

  • @filosofiadetalhista

    @filosofiadetalhista

    4 жыл бұрын

    The same comparison crossed my mind! Hahaha

  • @tanjagray9954
    @tanjagray99545 жыл бұрын

    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.

  • @theyugesh388
    @theyugesh3888 жыл бұрын

    what a lecture!!!!!!!! SO MUCH DEDICATED IN THEIR WORK HOPE U KEEP UP THE GOOD JOB:)

  • @s.d.gentry1354
    @s.d.gentry13548 жыл бұрын

    one of the best explanations I have seen about pointers to pointers (the crazy exam question example).

  • @medievalogic
    @medievalogic9 жыл бұрын

    The quality of teaching is just insane, everything is so clear, i wish all of the colleges in India would teach this way :/

  • @paulmaxwell-walters8861
    @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.

  • @steveokinevo
    @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.

  • @Gelar93
    @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.

  • @say-cred
    @say-cred10 жыл бұрын

    BEST EDUCATIONAL VIDEO I HAVE SEEN BEST LECTURER I HAVE SEEN AMAZING VIDEO AMAZING MAN 10/10 THANK YOU SO MUCH

  • @mirlamontano6640
    @mirlamontano66408 жыл бұрын

    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!

  • @msven
    @msven11 жыл бұрын

    Great stuff! Our class didn't go into the usefulness of it and now it makes SOO much more sense. Thanks!

  • @jethrobailey8358
    @jethrobailey83589 жыл бұрын

    this guy is a top class lecturer!

  • @rohitmundada703
    @rohitmundada7037 жыл бұрын

    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...

  • @PrimitiveBaroque
    @PrimitiveBaroque10 жыл бұрын

    hands down the best video on pointers. amazing lecture

  • @Nockoutz1
    @Nockoutz14 жыл бұрын

    This really helped me understanding pointers , I wish I had teachers like this guy.

  • @c99tutorial
    @c99tutorial10 жыл бұрын

    Jump to 4:18 to go right to the pointer discussion.

  • @nishilshah140692

    @nishilshah140692

    6 жыл бұрын

    But you'll miss out on the best part

  • @bharathkumar-ji4if

    @bharathkumar-ji4if

    5 жыл бұрын

    thank u

  • @conradnal8934

    @conradnal8934

    3 жыл бұрын

    Fortunately I've started to read the comments while watching the video. Thx man

  • @anttihaapala4579
    @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!

  • @AdvaTced
    @AdvaTced5 жыл бұрын

    One of the best guides, subscribed to this channel!

  • @AshwinPraveen
    @AshwinPraveen11 жыл бұрын

    I really really really enjoyed this class, He's like the liveliest teacher I've ever known!!!!

  • @francoc3495
    @francoc34956 жыл бұрын

    I wish I had him as a professor. This one video has helped me understand pointers than prior professors or textbooks.

  • @jaken82
    @jaken827 жыл бұрын

    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!

  • @krissapkota715
    @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..

  • @MineCrafterCity
    @MineCrafterCity8 жыл бұрын

    I thought this would be difficult to understand, but you explain very well. thanks!

  • @swatisharma765
    @swatisharma7656 жыл бұрын

    If only we had teachers like you! Thanks a ton for this!!!

  • @tomken5919
    @tomken59197 жыл бұрын

    Finally understand pointers now thankyou!!! Only lecture able to explain the purpose of pointers.

  • @mdmjwarner
    @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.

  • @zerox227x
    @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.

  • @CanadianMang
    @CanadianMang11 жыл бұрын

    Finally I understand pointers! This is a very good teacher.

  • @joch3085
    @joch308510 жыл бұрын

    This is way clearer than the lecture I had today about pointers.

  • @MrCavitysChessCorner
    @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.

  • @jonathankim1999
    @jonathankim19996 жыл бұрын

    This guy is amazing! He makes things so easy to understand. Good refresher.

  • @FatmirSaiti
    @FatmirSaiti11 жыл бұрын

    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 :)))

  • @LUX1111111111111
    @LUX111111111111110 жыл бұрын

    this guy is so talented in teaching!

  • @videos2laugh961
    @videos2laugh9616 жыл бұрын

    good lecture!! like the magic :) His passion is just awesome

  • @kennethafstedt6231
    @kennethafstedt62318 жыл бұрын

    Just great, it's a pity that my teacher wasn't anything close to this.

  • @revanthkumar7059
    @revanthkumar70599 жыл бұрын

    Awesome.. The best teacher in world

  • @harai6063
    @harai60636 жыл бұрын

    i love professor voice and his teaching style.

  • @shadyganem5448
    @shadyganem54483 жыл бұрын

    "Hopefully I didn't start a SARS equivalent " lol

  • @RevolutioZ
    @RevolutioZ11 жыл бұрын

    Wow, this guy propably made me find what im going to do after high school! Programming is so interesting!

  • @Ahliddin007
    @Ahliddin00714 жыл бұрын

    Thank you very much Richard! You really know the good way of teaching!

  • @king38344
    @king3834414 жыл бұрын

    Awesome style of teaching, learning made fun.... Thank you Mr.Richard :)

  • @Ashokgadeking
    @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!

  • @Ashokgadeking

    @Ashokgadeking

    7 жыл бұрын

    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.

  • @rishabhjain2404

    @rishabhjain2404

    7 жыл бұрын

    thanks for the explaination.. this was the only thing missing in the lecture

  • @YoVille451

    @YoVille451

    5 жыл бұрын

    That is &b *

  • @JeebuJacobThomas
    @JeebuJacobThomas10 жыл бұрын

    Excellent way of teaching... Not just pointers.. but infact anything for that matter!

  • @DTX_
    @DTX_8 жыл бұрын

    Hell, what a great teacher. So passionate :)

  • @FrankBudino
    @FrankBudino24 күн бұрын

    Amazing lecturer, some people are born to be teachers

  • @websailor93
    @websailor9311 жыл бұрын

    This is so good! I finally understood the basics of pointers!

  • @SameerBalasubrahmanyam
    @SameerBalasubrahmanyam10 жыл бұрын

    Best teacher ever! How I wish he was my mentor :(

  • @TheShagans
    @TheShagans11 жыл бұрын

    This was extremely helpful. Always nice to have that crazy teacher liven things up.

  • @michaelmuller9424
    @michaelmuller94245 жыл бұрын

    This lecture is incredible. Thank you.

  • @sepidet6970
    @sepidet69706 жыл бұрын

    cant be better explained as this, thank you so much.

  • @hikkenwayans
    @hikkenwayans8 жыл бұрын

    EXCELLENT lecture!!!

  • @0011usagi
    @0011usagi12 жыл бұрын

    This feel inside me, you're good for me Very comprehensive course, thanks for that

  • @0ldfashi0ned
    @0ldfashi0ned11 жыл бұрын

    This dude is absolutely brilliant!!! Wonderful explanation!

  • @HK-sw3vi
    @HK-sw3vi3 жыл бұрын

    this teacher is a gifted one.

  • @ffhabdull3309
    @ffhabdull330910 жыл бұрын

    wish i had a teacher like him

  • @dhruvsb3161
    @dhruvsb31618 жыл бұрын

    This guy reminds me of Walter White

  • @pradyu73

    @pradyu73

    7 жыл бұрын

    lol. thats true.

  • @shubhamkulkarni272

    @shubhamkulkarni272

    7 жыл бұрын

    yes. me too :D

  • @say-cred
    @say-cred10 жыл бұрын

    I ACTUALLY LOVE THIS MAN.

  • @a1arjun02
    @a1arjun0210 жыл бұрын

    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

  • @OLBICHL
    @OLBICHL10 жыл бұрын

    Love how he says 13... shhhh.. shhhh.. shhhh :-) This is a big help, thx for uploading it!

  • @BetaNium
    @BetaNium11 жыл бұрын

    Absolutely fantastic explanation! I wish I could have this kind of education!

  • @kadersniper
    @kadersniper10 жыл бұрын

    this is the best tutorial ever i know how pointers works now thanks Richard

  • @qettyz
    @qettyz11 жыл бұрын

    This was a great tutorial for pointers! Big thanks for uploading this!

  • @lub094
    @lub09413 жыл бұрын

    i've watched a lot tutorials about pointers and i haven't understood them till now, THANKS !

  • @TheIndividualOne
    @TheIndividualOne11 жыл бұрын

    Amazing professor, crystal clear explanation! Kinda looks like wilson from house

  • @intindse
    @intindse14 жыл бұрын

    Richard is the BEST TEACHER EVAR!

  • @KermitThePigLover
    @KermitThePigLover5 жыл бұрын

    This is brilliant, I wish I had him for a professor.

  • @LCaaroe
    @LCaaroe13 жыл бұрын

    Holy shit this is useful. I wish my teachers were as engaged in the subject as this guy is.

  • @branmuller
    @branmuller4 жыл бұрын

    Great lecture i love his energy

  • @Vishanseru9
    @Vishanseru912 жыл бұрын

    Now those are the kind of teachers we need!

  • @GGShinobi77
    @GGShinobi7711 жыл бұрын

    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! :))

  • @b992152
    @b99215211 жыл бұрын

    Wow, come now, this guy is fantastic! I wish I could have a king of education like they have!

  • @brianfleischman7843
    @brianfleischman78434 жыл бұрын

    Absolutely love it.

  • @abhinavgupta7930
    @abhinavgupta79306 жыл бұрын

    really liked his way of teaching ...quite dedicated

  • @MubarakAlrashidi
    @MubarakAlrashidi11 жыл бұрын

    GREAT lecture & GREAT explanation

  • @TheGranolaForce
    @TheGranolaForce4 жыл бұрын

    Excellent lecture, thank you for sharing

  • @mihaelaneagu7844
    @mihaelaneagu78449 жыл бұрын

    finally , now I understand what is a poiter thank you

  • @rmis198
    @rmis19811 жыл бұрын

    great personality.. Richard sir you are awesum

  • @xanderlewis
    @xanderlewis5 ай бұрын

    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.

  • @EngRona
    @EngRona11 жыл бұрын

    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