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 М.
Premature Optimization
12:39
CodeAesthetic
Рет қаралды 842 М.
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
Function-like Macros | C Programming Tutorial
24:12
Portfolio Courses
Рет қаралды 21 М.
Vim Tips I Wish I Knew Earlier
23:00
Sebastian Daschner
Рет қаралды 82 М.
Difference between macros and constants in C
12:42
CodeVault
Рет қаралды 12 М.
why do void* pointers even exist?
8:17
Low Level
Рет қаралды 395 М.
How to Write Function-Like Preprocessor Macros (C example)
13:59
Jacob Sorber
Рет қаралды 43 М.
All Rust features explained
21:30
Let's Get Rusty
Рет қаралды 328 М.
How to properly deal with dynamically allocated memory
13:44
CodeVault
Рет қаралды 9 М.
the cleanest feature in C that you've probably never heard of
8:13
31 nooby C++ habits you need to ditch
16:18
mCoding
Рет қаралды 840 М.
Master Pointers in C:  10X Your C Coding!
14:12
Dave's Garage
Рет қаралды 335 М.
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН