Quick introduction to macros

  Рет қаралды 32,377

CodeVault

CodeVault

Күн бұрын

Пікірлер: 44
@raidtheferry
@raidtheferry 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 9 ай бұрын
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 жыл бұрын
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 жыл бұрын
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 10 ай бұрын
Fantastic vid! This was a perfect reminder of what macros are & what they can do & a common pitfall!
@mansbjork5721
@mansbjork5721 Жыл бұрын
I'm working with C for a course at my university and this is quite helpful.
@nephewtechnologies
@nephewtechnologies 10 ай бұрын
Fascinating! Really good introduction. Thank you!
@shahqu5dohcoh9ri88
@shahqu5dohcoh9ri88 3 жыл бұрын
Why does this video have so few visuals??? It's fantastic, as all your videos
@Trox_t
@Trox_t Жыл бұрын
Visuals
@fluffyweird
@fluffyweird Жыл бұрын
This is really good bruh you made it more clear than the man page thank you so much :)
@amanvarshney51217
@amanvarshney51217 Жыл бұрын
Tysm I always recommend your channel to my friends for C programming and OS related concepts.
@eashansarkar_3819
@eashansarkar_3819 3 жыл бұрын
your videos are really fantastic!!! keep it up
@cleightthejw2202
@cleightthejw2202 2 жыл бұрын
Thanks for the videos. You do a great job explaining and teaching
@avixx
@avixx 7 ай бұрын
Thanks for all C vids, you helped me a lot!
@AbdelrahmanAzmi
@AbdelrahmanAzmi Ай бұрын
your video is awesome bro, thank you so much!
@MenakuanzambiFernando
@MenakuanzambiFernando 7 ай бұрын
Really great video, very thanks for the content
@facundolubo
@facundolubo 10 ай бұрын
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.
@jaafarbouhnine
@jaafarbouhnine 9 ай бұрын
top-tier vids! Thank you so much, man!
@DevDoge_
@DevDoge_ Жыл бұрын
Thank you so much, very well done introduction to macros!
@samaellovecraft
@samaellovecraft 8 ай бұрын
Thanks for the knowledge!
@minercreepmc
@minercreepmc 3 жыл бұрын
Still best channel teach C with friendly way
@einfacheente
@einfacheente Жыл бұрын
Great video easy to understand 👍
@CosmJJ
@CosmJJ 4 жыл бұрын
Great channel! Thank you very much!
@fernandodejesuslucart9339
@fernandodejesuslucart9339 2 жыл бұрын
incredible explanation
@hashimsulaiman6003
@hashimsulaiman6003 Жыл бұрын
thanks very good explanation
@abdelazizelhayyany6087
@abdelazizelhayyany6087 3 жыл бұрын
what a gift
@htainlindwa7603
@htainlindwa7603 Жыл бұрын
Nice explainationThamx
@АрманСоколовский
@АрманСоколовский 4 жыл бұрын
This video have to be popular
@gabrielzaharia99
@gabrielzaharia99 3 жыл бұрын
Thank you so much for the tutorials!
@hebasm9110
@hebasm9110 3 жыл бұрын
احبك كثيرا لانك تلهمني لأكون مبرمجة💜💜💜💜
@amnakhalil
@amnakhalil 2 жыл бұрын
Oh my gaawd.. u r great
@habeebbabasulaiman7214
@habeebbabasulaiman7214 9 ай бұрын
Please why do you like using main with arguments instead of void?
@CodeVault
@CodeVault 8 ай бұрын
That's just how the standard defines it
@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 10 ай бұрын
thanks a ton!
@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 жыл бұрын
I reckon I have struck gold
@someone-ci6cl
@someone-ci6cl 2 жыл бұрын
ummmmmm sorry but r u a german ?
@CodeVault
@CodeVault 2 жыл бұрын
No. I'm Romanian
@LL-ue3ek
@LL-ue3ek Жыл бұрын
Thank you for the demo! I never used it this way: #define PRODUCT(X,Y) X*Y interesting!
Macros with parameters in C
9:08
CodeVault
Рет қаралды 23 М.
Short introduction to header files in C
13:34
CodeVault
Рет қаралды 89 М.
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
you will never ask about pointers again after watching this video
8:03
Function-like Macros | C Programming Tutorial
24:12
Portfolio Courses
Рет қаралды 21 М.
Why are function pointers useful?
6:43
CodeVault
Рет қаралды 32 М.
How to Write Function-Like Preprocessor Macros (C example)
13:59
Jacob Sorber
Рет қаралды 43 М.
What are Include Guards in C?
13:26
CodeVault
Рет қаралды 2 М.
Bit Fields in C. What are they, and how do I use them?
13:26
Jacob Sorber
Рет қаралды 85 М.
Quick introduction to functions
12:23
CodeVault
Рет қаралды 7 М.
The New Outlook is TERRIBLE
20:19
Chris Titus Tech
Рет қаралды 119 М.
Difference between macros and constants in C
12:42
CodeVault
Рет қаралды 12 М.
Intro to recursive functions in C
17:38
CodeVault
Рет қаралды 13 М.