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 course
    Outline the c compilation process
    Recognize preprocessor directives
    Identify the output of each step in the compilation process
    Outline the process of creating macros and reviewing the preprocess output of code containing macros
  • Create macros which perform operations
    Use conditional pre-processor directives
    Explore the #ifdef, #ifndef, and #undef preprocessor directives
    Utilize pragmas to manage warnings
    Summarize the key concepts covered in this course

IN THIS COURSE

  • 2m 11s
  • 6m 57s
    In this video, you will learn how to outline the compilation process for C. FREE ACCESS
  • Locked
    3.  Preprocessor Directives in C
    4m 48s
    After completing this video, you will be able to recognize preprocessor directives. FREE ACCESS
  • Locked
    4.  Understanding the Compiler Output
    9m 55s
    In this video, you will learn how to identify the output of each step in the compilation process. FREE ACCESS
  • Locked
    5.  Creating Macros
    7m 46s
    In this video, find out how to outline the process of creating macros and reviewing the preprocess output of code containing macros. FREE ACCESS
  • Locked
    6.  Creating Function-like Macros
    9m 18s
    In this video, learn how to create macros that perform operations. FREE ACCESS
  • Locked
    7.  Using #If, #Elif, and #Endif Preprocessor Directives
    6m 27s
    In this video, learn how to use pre-processor directives that are conditional. FREE ACCESS
  • Locked
    8.  Checking Whether Macros Are Defined
    8m 32s
    Find out how to explore the #ifdef, #ifndef, and #undef preprocessor directives. FREE ACCESS
  • Locked
    9.  Controlling Compiler Behavior Using Pragmas
    6m 36s
    In this video, you will learn how to use pragmas to manage warnings. FREE ACCESS
  • Locked
    10.  Course Summary
    3m 24s
    6cbaa810-7167-48c3-a070-bfc2472ced15 FREE ACCESS

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.