Quick introduction to macros

Поделиться
HTML-код
  • Опубликовано: 17 ноя 2024

Комментарии • 44

  • @raidtheferry
    @raidtheferry 9 месяцев назад +10

    seems so simple but this type of video is what the YT programming-tutorial community is missing. Quick, succinct, factual, and to the point. Thanks. Your vids on C fundamentals are a huge help

  • @yessirski7868
    @yessirski7868 8 месяцев назад +1

    6 years later and they is coming in clutch for my midterm I have coming up in the morning! Thank you! 6 years later and still informative and relevant.

  • @michalbotor
    @michalbotor 2 года назад +12

    fantastic explanation of why we need to use #define PRODUCT(X, Y) (X) * (Y) instead of #define PRODUCT(X, Y) X * Y
    your videos are so easy to understand!
    you make me start loving c!

  • @berkcan2439
    @berkcan2439 4 года назад +23

    Have you realize that the videos that have low views are real informative videos especially programming language videos. Thanks you so much it is gonna be useful assert function parameters i guess.

  • @johncody4271
    @johncody4271 9 месяцев назад +1

    Fantastic vid! This was a perfect reminder of what macros are & what they can do & a common pitfall!

  • @nephewtechnologies
    @nephewtechnologies 9 месяцев назад

    Fascinating! Really good introduction. Thank you!

  • @mansbjork5721
    @mansbjork5721 Год назад +2

    I'm working with C for a course at my university and this is quite helpful.

  • @shahqu5dohcoh9ri88
    @shahqu5dohcoh9ri88 3 года назад +20

    Why does this video have so few visuals??? It's fantastic, as all your videos

  • @fluffyweird
    @fluffyweird Год назад +1

    This is really good bruh you made it more clear than the man page thank you so much :)

  • @AbdelrahmanAzmi
    @AbdelrahmanAzmi 15 дней назад +1

    your video is awesome bro, thank you so much!

  • @amanvarshney51217
    @amanvarshney51217 Год назад

    Tysm I always recommend your channel to my friends for C programming and OS related concepts.

  • @avixx
    @avixx 5 месяцев назад

    Thanks for all C vids, you helped me a lot!

  • @cleightthejw2202
    @cleightthejw2202 2 года назад +2

    Thanks for the videos. You do a great job explaining and teaching

  • @MenakuanzambiFernando
    @MenakuanzambiFernando 6 месяцев назад

    Really great video, very thanks for the content

  • @samaellovecraft
    @samaellovecraft 7 месяцев назад

    Thanks for the knowledge!

  • @jaafarbouhnine
    @jaafarbouhnine 8 месяцев назад

    top-tier vids! Thank you so much, man!

  • @eashansarkar_3819
    @eashansarkar_3819 2 года назад +2

    your videos are really fantastic!!! keep it up

  • @DevDoge_
    @DevDoge_ Год назад

    Thank you so much, very well done introduction to macros!

  • @hashimsulaiman6003
    @hashimsulaiman6003 Год назад

    thanks very good explanation

  • @minercreepmc
    @minercreepmc 3 года назад

    Still best channel teach C with friendly way

  • @CosmJJ
    @CosmJJ 4 года назад +1

    Great channel! Thank you very much!

  • @einfacheente
    @einfacheente Год назад

    Great video easy to understand 👍

  • @fernandodejesuslucart9339
    @fernandodejesuslucart9339 Год назад

    incredible explanation

  • @АрманСоколовский
    @АрманСоколовский 4 года назад +1

    This video have to be popular

  • @facundolubo
    @facundolubo 9 месяцев назад

    I don't know if is a good practice to use the pre-processor for something like the calculation of a given function, but it has sense to replace the constanst in order not to use space of memory to storage constansts.

  • @gabrielzaharia99
    @gabrielzaharia99 3 года назад

    Thank you so much for the tutorials!

  • @hebasm9110
    @hebasm9110 2 года назад

    احبك كثيرا لانك تلهمني لأكون مبرمجة💜💜💜💜

  • @abdelazizelhayyany6087
    @abdelazizelhayyany6087 3 года назад +2

    what a gift

  • @htainlindwa7603
    @htainlindwa7603 Год назад

    Nice explainationThamx

  • @amnakhalil
    @amnakhalil Год назад

    Oh my gaawd.. u r great

  • @tomsterbg8130
    @tomsterbg8130 Год назад

    No wonder that our C++ teacher told us "when in doubt, add more parentheses"

  • @furkankamaci6180
    @furkankamaci6180 Год назад

    amazing..

  • @abdoroma6928
    @abdoroma6928 Год назад

    Very cool

  • @kendalwilliams5128
    @kendalwilliams5128 9 месяцев назад

    thanks a ton!

  • @habeebbabasulaiman7214
    @habeebbabasulaiman7214 8 месяцев назад

    Please why do you like using main with arguments instead of void?

    • @CodeVault
      @CodeVault  7 месяцев назад

      That's just how the standard defines it

  • @Peter_1986
    @Peter_1986 Год назад

    I abuse the hell out of the "define" directive - sometimes I replace an entire body of statements with a single word that summarises its purpose. I realise that this is often considered poor programming practice, but it often feels very convenient - especially things like replacing the awkward line
    "( ('a'

    • @CodeVault
      @CodeVault  Год назад

      I would use a function for that maybe. But, definitely if you want the most performance (and some good readability), this is the way to go

  • @AliG.G
    @AliG.G 5 лет назад +2

    I reckon I have struck gold

  • @someone-ci6cl
    @someone-ci6cl 2 года назад

    ummmmmm sorry but r u a german ?

  • @LL-ue3ek
    @LL-ue3ek Год назад

    Thank you for the demo! I never used it this way: #define PRODUCT(X,Y) X*Y interesting!