Classes Part 32 - static member variables and functions in classes - Modern Cpp Series Ep. 70

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

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

  • @Sergei_developer
    @Sergei_developer 17 วันที่ผ่านมา +1

    Exceptionally great lessons, as always. Thank you, sir!

    • @MikeShah
      @MikeShah  17 วันที่ผ่านมา

      You are most welcome!

  • @RomanTimm
    @RomanTimm 8 หลายเดือนก่อน +1

    Just dropping in to say thank you for the awesome content. 100+ more videos to go!

    • @MikeShah
      @MikeShah  8 หลายเดือนก่อน

      Cheers -- enjoy!

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

    The adventure continues!!!!!!

    • @MikeShah
      @MikeShah  2 ปีที่แล้ว +3

      Forwards and onwards!

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

    nicely done - esp showing how to actually do the files.

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

    great , continue

  • @dwolrdcojp
    @dwolrdcojp 2 ปีที่แล้ว +1

    Thanks Mike. Always love the C++ content.

    • @MikeShah
      @MikeShah  2 ปีที่แล้ว

      You are most welcome! Glad to have you onboard!

  • @dhanushs1802
    @dhanushs1802 2 ปีที่แล้ว +1

    Great video. Very wonderfully explained as always. Thank you.

    • @MikeShah
      @MikeShah  2 ปีที่แล้ว

      Cheers, thank you for the kind words!

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

    Hi Mike, great stuff. So well done with great pictorial explanation .
    what is an API? in layman's terms. The term has always caused confusion to me.
    i so love your answer to Klutch comment : the adventure continues Forwards and ownwards!

    • @MikeShah
      @MikeShah  2 ปีที่แล้ว +1

      Thank you Blaiso! An API stands for Application Programming Interface. An API is the collection of classes and functions that are related in some way (e.g. OpenGL is a graphics programming API). The API from an implementation viewpoint may respect certain design patterns or code conventions for how it works--more strongly stated, it is a 'contract' programmers can rely on as some truth. Let me know if that definition helps!

    • @blaisofotso3439
      @blaisofotso3439 2 ปีที่แล้ว +1

      @@MikeShah Hallo Mike. Thank you for the deatils.
      I would like a short video explaining the concept with some code and pictorial explanations. Thank you before hand.

  • @Chimponaut
    @Chimponaut 5 หลายเดือนก่อน

    So is a static pointer stored in the program, but the memory it's pointing to would be on the heap? (if allocated with new)

    • @MikeShah
      @MikeShah  5 หลายเดือนก่อน +1

      Correct! -- 8 bytes stored for the pointer in static memory is what you get when you load your program (then that will eventually point to a 'heap' of memory elsewhere for that executing process by the operating system).

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

    Could you illustrate does it mean that static is allocated with binary? Google just told me that it is stored in somewhere called data segment

    • @MikeShah
      @MikeShah  ปีที่แล้ว

      Yes that is correct, store in the binary, specifically in the data segment usually