C++ Pointers and Arrays

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ก.ย. 2024

ความคิดเห็น • 15

  • @pedro-garcia100
    @pedro-garcia100 6 ปีที่แล้ว +9

    That's definitely the best explanation of pointers in C/C++. Sadly I had to scroll down two or three pages of Indian spam to find this video.

    • @informativecontent4778
      @informativecontent4778 5 ปีที่แล้ว +3

      lolx indian r destroying youtube education... is there anyway I can always filter them from my search result????

    • @ahopefiend1867
      @ahopefiend1867 4 ปีที่แล้ว

      @sokayU0 X Exactly. There's a huge glut on indians learning science and tech. if you go to a US university many of their research associates and now indian or asian. takes a while to get used to their accent but they will become very common. Indian English accent is itself evolving now that it has to advertise to the West.

  • @basvanommen2192
    @basvanommen2192 6 ปีที่แล้ว +4

    Dear Dan, I've been spoiled by newer languages (PHP and Javascript mostly). I found trying to understand the pointers hard because I never had to think about it. I've check many websites and other video before I found yours. And now I get it. Thank you very very much!

    • @JO-ej3nh
      @JO-ej3nh 4 ปีที่แล้ว

      How is PHP and Javascript compared to c++?

  • @Plrang
    @Plrang 6 ปีที่แล้ว +3

    An amazing information burried below a ton of spam on TH-cam. I had to scroll over and over to find some real thing instead of the primitive "hey ya know ok? pointers are fun ok?" ;) Thanks for refreshing my knowledge

  • @michelle732mn
    @michelle732mn 4 ปีที่แล้ว +1

    I found this video educational for the most part, but you also managed to make me laugh. Great teacher, great content! Have a wonderful day. Edit: I subscribed.

  • @mihirghosh6224
    @mihirghosh6224 8 ปีที่แล้ว

    amazing video with pointers....u teach better than by prof.

  • @samanthapikus3178
    @samanthapikus3178 7 ปีที่แล้ว +2

    Thanks for the video, you explain lovely. wish you would number your videos so that one knows what is next. I would really like to understand I/O streams like ifstream and ofstream and in particular how do I used get, put, putback with them. Would be great if you could make a video about that. In the section in my textbook relating to ifstreams, they include these functions and a) I don't get the reason for used get, put and putback. I wish there was a real life example of how to implement to show their use. Once again.. Great video.

  • @uniqueelsa5959
    @uniqueelsa5959 3 ปีที่แล้ว

    Thanks alot sir!
    You cleared all my doubts !

  • @jamel-dz
    @jamel-dz 4 ปีที่แล้ว

    Good explanation - thanks.

  • @ryanavery7980
    @ryanavery7980 6 ปีที่แล้ว +1

    20:10 is a bit misleading... messing with the value of the pointer wont change anything in the main program but messing with the things at the addresses it points to will. That said, video is a great refresher, thanks.

  • @cpp6894
    @cpp6894 4 ปีที่แล้ว

    thank you sir.

  • @sntshkmr60
    @sntshkmr60 6 ปีที่แล้ว +1

    Can't compile this:
    int *classSize = {32, 27, 29, 23, 68};
    getting: scalar object ‘classSize’ requires one element in initializer
    Using: g++ (GCC) 8.1.1 20180502 (Red Hat 8.1.1-1)
    with no extra flags

    • @danmcelroy1193
      @danmcelroy1193  6 ปีที่แล้ว

      Different compilers keep updating what they will compile. Use
      classSize[ ] = {32, 27, 29, 23, 68};