O'Reilly logo

C Programming: Visual Quickstart Guide by Marc Liyanage, Larry Ullman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Introduction to the C Preprocessor

The C preprocessor is a special tool created to facilitate the programming of C applications and expedite their execution. This is an important and, at the same time, confusing thing: the C preprocessor is a wholly separate entity from the C language itself. That being said, most C compilers will manage preprocessing for you, so as long as you abide by the proper syntax and understand how the preprocessor functions, working with it can be a relatively seamless process.

The C preprocessor helps you organize your code by providing utilities for

  • Creating reusable snippets of code, called macros

  • Including the contents of one source file during another source file's compilation

  • Providing additional direction to the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required