C "Modules" - Tutorial on .h Header Files, Include Guards, .o Object Code, & Incremental Compilation

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ต.ค. 2020
  • 00:29 Why modularize a C program into many files?
    03:29 What is a "module" in C made of?
    06:16 Short Tutorial Defining a .h Header File

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

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

    Thanks for the clear explanation! I'm self teaching myself C in my free time and these videos are a godsend! You university classes would be a delight to attend!

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

      Same here. This is very deeply explained and very clearly.Hats off keep it up

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

    Thank you so much for this informative session. Your students are very lucky that they have a great professor like you.

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

    I understood everything you articulated here, not because i am smart but because of the fact that you are good at this . Thanks a lot.

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

      maPoint azonyanya😁😅

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

    so well articulated. Great video

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

    Great video. I was struggling to get my head around some of this stuff but your explanation is great.

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

    Excellent introduction to C modularization. I'm glad I watched the intro in it's entirety. Ending with symbols, symbol tables, and 'objdump -d' on the object and executable files was kickass, THANK YOU.

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

    Thank you for this video. Also went over the code example you use in this video to further advance my C abilities.

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

    Great video, now that I understand more how to create those modules I can improve my code.

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

    Thank you! The explanation is very clear!

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

    Wow! Very good explanation! Thanks!

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

    Thanks for understanding the header files.

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

    Thanks a lot! It is very clear now

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

    Excellent explanation !

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

    Great Explanation

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

    Great course!

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

    Great tutorial 👍

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

    This video has helped me a lot when writing my project assignment. Thank you very much sir !

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

    Thank you - this is really SO helpful. From another self-learner :)

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

    Thank you sir for awesome video tutorial

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

    So helpful!

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

    just superb! give more videos on gcc, make etc ... thanks a lot :)

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

    Thank you very much .

  • @exe.m1dn1ght
    @exe.m1dn1ght 9 หลายเดือนก่อน

    god bless you , i was curious how C programmers deal with complexity without having entities like "objects".. turns out they have these modules which is doing the same thing as objects, modularizing your code and making it easier to debug and maintain

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

    that initialized = { x, y} variable will be gone after the function returns since it's on stack. You definitely need to malloc Point structure on heap

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

    neat gold..

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

    i liked it, but now that youtube have in video timestamps, it would help more when looking back for a specific topic mentioned

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

    You sir, are invited to my wedding!

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

      What's the date?

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

    Which plug in you are using for c? Does it also have suggestions for c++?

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

      The vim plugin is YouCompleteMe and it does have C++ support.

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

    Would you mind organizing all of your C programming videos into their own playlist please?

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

      You can find the overarching list here: th-cam.com/play/PLKUb7MEve0TjHQSKUWChAWyJPCpYMRovO.html

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

      @@KrisJordan Thank you.

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

    Yo!!! Kris Jordan Mama.. Why don't you share your presenatation!. It would be helpful for me to look back again. thanks for the video. It was really helpful.

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

    Modules? Over which ring?

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

    Sorry, I am still noob. Where are the library of commands located? .h or .c?

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

    Do i have to include a .h file in its belonging .c file?

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

      Only if you need forward declarations, but it's a good practice to go ahead and include so you've got less complexity to keep track of in your head.

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

      @@KrisJordan thank you Kris!

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

    can POINT_H be point_h?

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

      Yes, but stylistically discouraged because it is hard to tell the difference between it and an actual identifier. The _h helps, but you'll more commonly see these capitalized.

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

      @@KrisJordan Got it kris, thank you. Your video helped me at my job, so you saved my day!!

  • @nhanNguyen-wo8fy
    @nhanNguyen-wo8fy ปีที่แล้ว

    30:20

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

    This tutorial is going to get a lot more confusing if people start hearing about the precisely named c++20 'modules'

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

    Module is the wrong term here and may be confusing.

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

    So much code smell