C Programming Tutorial – 42 – Pointers

[ad_1]
Facebook –
GitHub –
Google+ –
LinkedIn –
reddit –
Support –
thenewboston –
Twitter –


Posted

in

by

Tags:

Comments

47 responses to “C Programming Tutorial – 42 – Pointers”

  1. BIBEKSTER Avatar

    what a crystal clear explanation! well done sir

  2. Juliya Smith Avatar

    your cupboard is a memory address of tuna

  3. Braeden Hamson Avatar

    I'm gonna go make a sandwich now.

  4. Tanjim Chowdhury Avatar

    Play at 1.5 speed 🙂

  5. yb liang Avatar

    Great explanation!!!

  6. ying tang Avatar

    a pointer is a special type of variable that can hold the memory address of a variable.

  7. ying tang Avatar

    I have a question. checkout the address in 3 timelines:
    4:19——0028FFIC
    7:15—–0028FF18
    0028FF18
    8:08—–0028FFIC
    0028FFIC
    0028FF18

    My question is why the pointer of tuna changed the second time, and at the third time it changed back. really confusing.

  8. Aragog Yang Avatar

    Why do I confuse after my professor's 50 min lesson talking about pointer and understand it in ten min with Bucky's tutorial?

  9. ohaRega Avatar

    Great video, but a small little note for some viewers:
    The memory address is a number. It is a hexadecimal (base 16) number. In fact this is important, because we do arithmetic operations on them. Add 1 to the address, and whoop, you are at the next byte in your memory, and so on.

  10. Vishal Avatar

    18 dislikes? why? .. This video explained me more in 10 mins then my professor could in 10 weeks.. jeez (y) keep up the good work man..

  11. Aaron Coe Avatar

    Thank you so much for the clear explanation.

  12. Maria Hani Avatar

    what if i want to have this pointer in binary to encrypt a file on my computer using DES?

  13. Denis Benčič Avatar

    Pointers are so confusing concept that I had to watch tutorials 42 and 43 (which were way more informative than the lectures by the way) at least twice. I love how your tutorials are so consistent to the things we discussed on my lectures.

  14. viewsPref Avatar

    should some 'professors' shame on their shitty lecturing skills?

  15. THIS vs THAT Avatar

    press windows button and then +
    it will zoom so you can see easily

  16. A$APshaman Avatar

    thenewboston man you sure do like tuna

  17. Nik Tantardini Avatar

    Yes! No accent thank God!

  18. Omar Adel Avatar

    What if want to get the address of the Pointer itself?

  19. OvalWingNut Avatar

    "First time watcher". POINTERS: Now that's what I'm talking bout… GOOD STUFF, thank you. Clear & Concise = I'm hooked. Make room for another sUbScRiPtIoN. p.s. And it's in good old (audible) English too. Can't beat that :O) Cheers

  20. Riwaj Chalise Avatar

    I just wanna kill the C teacher, in my college right now…. Bucky you are great….

  21. Elizaveta Ovchinnikova Avatar

    Thank you! You are amazing teacher!!!

  22. gabixolaa Avatar

    why theres a pTuna and then below &pTuna

  23. TheMarvpaul Avatar

    Super cool tutorial. Explained step by step and easy to understand. Thanks for sharing this if us

  24. VG Avatar

    really helpful thank you

  25. Taylor Simpson Avatar

    I named my cat Bucky because they both love tuna equally.

  26. manoj y Avatar

    Sorry but Iam not getting the Same result , as ptuna value is address of tuna ,but Iam getting some other value

  27. Tannya Seth Avatar

    need 6 hours to complete further.. ugh tired

  28. mouhamad wehbe Avatar

    what program are u using??

  29. Tomasz Wota Avatar

    "Well, we can't store it in an int, because it has characters in it" /FACEPALM
    Also, Hungarian notation (pTuna for pointer, iNumber for int, etc) is used by some, but isn't THAT wide anymore. Lots of people don't touch it because it's just noise in the end – self-documenting names are a better way to go about it.
    Please, people, search some actually good knowledge sources. Bucky's tutorials are not that. So much not that.

  30. Alicia Kankainen Avatar

    This seems like good stuff. Too bad I can't see what he is doing with that font size.

  31. manojkumar subramaniam Avatar

    Thanks bro , This explained the pointer for me

  32. Simon Levien Avatar

    I came here because goddamn Harvard's CS50 can't explain this, thank you so much

  33. abhilash pavan Avatar

    hi been workig on this tutorial for quit a while and saw this pointer video and got a doubt
    can any one menction the difference between the below two printf lines

    int a = 100;
    printf("%p",a);
    printf{"%p", &a);

    both show the different addresses
    so both are good to use or just have to use the second printf

  34. Amen Avatar

    final exam after 7 hours trying to finish the whole tutorial which is 6 hours long hhhhhhh

  35. ManiProgrammingAndAnimation Avatar

    This was awesome. I have an example on my channel of how to use pointers for user input if anyone wants to see!

  36. neeld Avatar

    man can you please expand your screen so that we can also see what are you typing and running ? The font is so tiny that I can hardly read 🙁

  37. spectre42 Avatar

    Really great explanation on pointers

  38. il2xbox Avatar

    This was a good video.
    (puts on sunglasses)
    You've definitely given me a few pointers.
    YEAAAAAAAAAAAAAHHHHHHHHHHHHHHHHHHHHHHHHHH!

  39. ABDUL SAMI AYOUBI Avatar

    I generally thank you for your all tutorial Mr

  40. le00 Avatar

    YAS i finally understand!
    thanks man

  41. Justin Howe Avatar

    Great description, I know I found this topic to be difficult when I started learning C and many of my classmates still struggle with this topic sometimes. Using a simple analogy such as the house with an address example really helped me to get my head around this topic when I first learned it. I feel like I initially suffered due to the mentality of just moving the syntax around until it compiled/worked without fully understanding it. Starting at such a basic level then moving to syntax, then examples really helped me learn this topic. Thanks for the video!

  42. FlyingNimbus3FTW Avatar

    Very helpful summary, clearly explains the basics of pointers by using approachable language and examples. It was refreshing to have someone begin from the lowest level possible and moving up to the more complex uses, unlike most videos and web articles. The format also makes it very easy to follow along and actually code a lot of this yourself as he leads on the video. Great video for someone looking for more information on the basics of pointers.

Leave a Reply

Your email address will not be published. Required fields are marked *