What are Structs in C?

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

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

  • @mrjson3039
    @mrjson3039 2 หลายเดือนก่อน +1

    OMG it left in the verge. I didn't realize it was only 2 minutes long!!! Amazing video! I would love a ~25 minute video about this. Thanks Boot Dev and Telescopic Johnson for this.

  • @Gnajs
    @Gnajs 2 หลายเดือนก่อน +4

    Learning web dev but I still find your videos very interesting. Someday I will also learn a lower level lang like C.

    • @bootdotdev
      @bootdotdev  2 หลายเดือนก่อน +2

      glhf and best of luck!

  • @soumen_pradhan
    @soumen_pradhan 2 หลายเดือนก่อน

    Note that, the fields may not be always be packed together. Instead of the 3 ints, if you put in a short, the struct may still take the same space with extra bits padded.
    You can rearrange your fields, so this does not happen (the compiler cannot do that for you)

  • @zikomo8913
    @zikomo8913 2 หลายเดือนก่อน +3

    i dont know if its me but I hate the education system that forces you to constantly learn newer shit, without allowing you one to delve deeper into things one likes, and don't tell me I can do it in my personal time. I hated my college for this, I enjoyed C, or the challenge of its, the rawness, and yet I can't find the time to do it again in between working the day job and life otherwise.

    • @lorcanzo2498
      @lorcanzo2498 2 หลายเดือนก่อน

      I mean the computer industry is one of the fastest growing industries, new technology and techniques are constantly being developed. It makes sense you need to spend time on then. Granted I would also like more time to deep dive into my hobbies🥲

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

      And the people who DO learn C/C++ and/or Java in their CS degree complain that they can't go easy-mode learning Python or JavaScript... 😅🙄

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

      I think people generally complain about the grass being greener on "the other side" 😉🤷🏼‍♂️

    • @Natephor
      @Natephor 18 วันที่ผ่านมา

      Because college wants you to brush through what basics are expected and be a "fast learner" by building on those foundations in your free time or/and later.

  • @rabbitlover7656
    @rabbitlover7656 2 หลายเดือนก่อน

    Why do most universities or institutes start learning Java programming language instead of C++, especially in India and Saudi Arabia? I mean, on the first day in college or institute, they start teaching Java without teaching C++ before it, knowing that students are supposed to study C++ and then start teaching them any language they want, whether Java or another. Why do Indians and Saudis use Java extensively? I mean, most of their programmers are proficient in Java, regardless of whether they use it or not, but they teach us even if they don't use it? I mean, is there a secret in Java that we don't know yet, and why are its users more numerous than C++?

  • @lishhhhmm
    @lishhhhmm 2 หลายเดือนก่อน

    "structs having no behavior..." wait until I put that function pointer in it 😁 (yes I will give the struct as a parameter like python does with self)

  • @Mel-mu8ox
    @Mel-mu8ox 2 หลายเดือนก่อน

    :D

  • @qannicc
    @qannicc 2 หลายเดือนก่อน

    i just want God not work

    • @bootdotdev
      @bootdotdev  2 หลายเดือนก่อน

      Idk that we can help with that