Video není dostupné.
Omlouváme se.

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

Sdílet
Vložit
  • čas přidán 18. 10. 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

Komentáře • 50

  • @kasta867
    @kasta867 Před 2 lety +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 Před rokem +2

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

  • @tapiwamatsika4063
    @tapiwamatsika4063 Před 2 lety +9

    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 Před rokem

      maPoint azonyanya😁😅

  • @wiseskeshom4673
    @wiseskeshom4673 Před 7 měsíci +2

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

  • @genryheorge9614
    @genryheorge9614 Před 8 měsíci

    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.

  • @davidvella7141
    @davidvella7141 Před 3 lety +3

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

  • @aloncarmelly282
    @aloncarmelly282 Před 3 lety +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 Před 2 lety +1

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

  • @joel230182
    @joel230182 Před 2 lety

    so well articulated. Great video

  • @achrafBadiry
    @achrafBadiry Před 7 měsíci

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

  • @shisanliu6314
    @shisanliu6314 Před 2 lety

    Thank you! The explanation is very clear!

  • @WalaSTH
    @WalaSTH Před 3 lety +2

    Thanks a lot! It is very clear now

  • @DrJamesMP
    @DrJamesMP Před 9 měsíci

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

  • @MrTaandreo
    @MrTaandreo Před 2 lety

    Excellent explanation !

  • @viktorvasylyk4455
    @viktorvasylyk4455 Před 2 lety

    Thanks for understanding the header files.

  • @exe.m1dn1ght
    @exe.m1dn1ght Před 11 měsíci +1

    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

  • @ultrahalf
    @ultrahalf Před 3 lety

    Great tutorial 👍

  • @leonardoferreiracalazans9210

    Wow! Very good explanation! Thanks!

  • @cnydo
    @cnydo Před 3 lety

    Great Explanation

  • @dmitryvilyuzhanin3599
    @dmitryvilyuzhanin3599 Před 2 lety

    Great course!

  • @nikeshacharya45673
    @nikeshacharya45673 Před 2 lety

    Thank you sir for awesome video tutorial

  • @thinkverse94
    @thinkverse94 Před 2 lety

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

  • @austinstephen541
    @austinstephen541 Před 2 lety

    So helpful!

  • @Good0Music0for0you
    @Good0Music0for0you Před 2 lety

    Thank you very much .

  • @realtopg
    @realtopg Před 2 lety +1

    You sir, are invited to my wedding!

  • @bigfoot1861
    @bigfoot1861 Před 4 měsíci

    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

  • @marinhaalternativa3829

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

  • @juliusnewman2094
    @juliusnewman2094 Před 2 lety +5

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

    • @KrisJordan
      @KrisJordan  Před 2 lety +3

      You can find the overarching list here: czcams.com/play/PLKUb7MEve0TjHQSKUWChAWyJPCpYMRovO.html

    • @juliusnewman2094
      @juliusnewman2094 Před 2 lety +1

      @@KrisJordan Thank you.

  • @arnabmukherjee5840
    @arnabmukherjee5840 Před 2 lety

    neat gold..

  • @powerstar817
    @powerstar817 Před 2 lety

    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.

  • @umair7354
    @umair7354 Před 3 lety

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

    • @KrisJordan
      @KrisJordan  Před 3 lety +2

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

  • @myhumblebeginnings
    @myhumblebeginnings Před 2 lety

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

  • @derkeiler2573
    @derkeiler2573 Před 2 lety

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

    • @KrisJordan
      @KrisJordan  Před 2 lety +2

      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 Před 2 lety

      @@KrisJordan thank you Kris!

  • @ajitsakri9888
    @ajitsakri9888 Před 2 lety

    can POINT_H be point_h?

    • @KrisJordan
      @KrisJordan  Před 2 lety +1

      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 Před 2 lety

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

  • @Grassmpl
    @Grassmpl Před 7 měsíci

    Modules? Over which ring?

  • @hunterkohler3697
    @hunterkohler3697 Před 2 lety

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

  • @johnjoyce
    @johnjoyce Před 3 měsíci

    Module is the wrong term here and may be confusing.

    • @martijnb3381
      @martijnb3381 Před 7 dny

      It think it is called a "Unit of compilation" the linker will connect all public (non static) symbols.

  • @bolvarsdad3825
    @bolvarsdad3825 Před rokem

    So much code smell