CHAPTER 16THE C PREPROCESSOR AND THE C LIBRARY

You will learn about the following in this chapter:

• Preprocessor directives:

#define, #include, #ifdef

#else, #endif, #ifndef

#if, #elif, #line, #error, #pragma

• Functions:

sqrt(), atan(), atan2()

exit(), atexit()

assert()

memcpy(), memmove()

va_start(), va_arg(), va_copy(), va_end()

• More capabilities of the C preprocessor

• Function-like macros and conditional compilation

• Inline functions

• The C library in general and some of its handy functions in particular

The C language proper is built on the C keywords, expressions, and statements as well as the rules for using them. The ANSI C standard, however, goes beyond describing just the C language. It also describes how the C preprocessor ...

Get C Primer Plus, Fifth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.