Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Pluralsight

Using a C Preprocessor (CPP)

via Pluralsight

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
This course will teach you the role of C Preprocessor in the C programming language. You'll learn how C Preprocessor plays a role during the compilation process of a C program and how you can use various preprocessor directives practically.

When it comes to learning a programming language, the focus is often on the different programming elements and syntax rules of a programming language. While it is important to learn these aspects, you shouldn’t be missing the most important piece that is responsible for performing all the background activities in order to translate your program written in a high-level language to a language that your machine is able to understand. In this course, Using a C Preprocessor (CPP), you’ll learn to use C preprocessor directives in your C program. First, you’ll explore various phases of the compilation process of a C program and what role does the C preprocessor play in that. Next, you’ll discover various preprocessor directives defined in the C library as well as those which are defined specific to different compiler flavors. Finally, you’ll learn how to use these preprocessor directives effectively in your C programs and applications. When you’re finished with this course, you’ll have the skills and knowledge of using the C preprocessor needed to understand the preprocessing phase during the compilation process and to use the features and power rendered by the preprocessor directives in your real time applications.

Syllabus

  • Course Overview 2mins
  • # Is Important 7mins
  • Translating a C Program 12mins
  • Understanding C Preprocessor Directives 27mins
  • Working with Macros 21mins
  • Understanding Compiler Specific Preprocessor 13mins
  • Course Summary 2mins

Taught by

Jaya Bodkhey

Reviews

4.3 rating at Pluralsight based on 46 ratings

Start your review of Using a C Preprocessor (CPP)

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.