Table of Contents
Previous Section Next Section

Chapter 4: The Preprocessor and Comments

Overview

C and C++ include several preprocessor directives, which are used to give instructions to the compiler. The preprocessor directives are listed here:

#define

#elif

#else

#endif

#error

#if

#ifdef

#ifndef

#include

#line

#pragma

#undef

Each is discussed briefly in this section.


Table of Contents
Previous Section Next Section