O'Reilly logo

C Primer Plus, Fifth Edition by Stephen Prata

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

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 ...

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