Advanced Topics in C: Managing Code Compilations Using Preprocessor Directives
C 17
| Expert
- 10 Videos | 1h 5m 54s
- Includes Assessment
- Earns a Badge
One of the key attractions of C is the low-level control it gives us over its compilation process. Indeed, the C language allows us to control the compilation of a program to a level unmatched by other languages such as Java. You will start this course by learning the compilation process of C which includes four main steps: preprocessing, compiling, assembling, and linking. Once you grasp the output of each step in the compilation process, move on to investigating preprocessor directives. Next, use conditional preprocessor directives including #if, #elseif and #endif. Finally, discover how to issue instructions to the compiler using pragmas, upgrade a warning to a regular error, and convert a warning to an extremely severe fatal error. After completing this course, you'll be able to list the steps for compiling a C program including creating macros with preprocessor directives, control conditional compilation, and use pragmas to alter compiler settings.
WHAT YOU WILL LEARN
-
discover the key concepts covered in this courseoutline the C compilation processrecognize preprocessor directivesidentify the output of each step in the compilation processoutline the process of creating macros and reviewing the preprocess output of code containing macros
-
create macros which perform operationsuse conditional pre-processor directivesexplore the #ifdef, #ifndef, and #undef preprocessor directivesutilize pragmas to manage warningssummarize the key concepts covered in this course
IN THIS COURSE
-
1.Course Overview2m 11sUP NEXT
-
2.How C Code Is Compiled6m 57s
-
3.Preprocessor Directives in C4m 48s
-
4.Understanding the Compiler Output9m 55s
-
5.Creating Macros7m 46s
-
6.Creating Function-like Macros9m 18s
-
7.Using #If, #Elif, and #Endif Preprocessor Directives6m 27s
-
8.Checking Whether Macros Are Defined8m 32s
-
9.Controlling Compiler Behavior Using Pragmas6m 36s
-
10.Course Summary3m 24s
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform
Digital badges are yours to keep, forever.