C Preprocessor Directives #include and #define (Intro to C - 5)

preview_player
Показать описание
The C preprocessor is a powerful tool that can help you write good code. This videos explains what it is and how the include and define directives work. With great power comes great risks, so I also give example for how things can go wrong when you use these directives.

Check out my other videos at @wizardcraftcode

#coding #codinginc #cpreprocessor #preprocessor
Рекомендации по теме
Комментарии
Автор

@5:40 Hi, the appropriate function to use would be fabs() (from math.h) instead of abs() (from stdlib.h) .. regardless, typing out the code and failing/getting the incorrect answer forced to me to read up and figure things out by myself. What I seem to like about your style of presentation is the absense of spoon feeding... Having said that, your lectures aren't exactly beginner friendly but force a keen beginner to start self learning.. All in all, a big Thank You for the effort you've put in to produce these materials. Cheers

ahafeel
join shbcf.ru