Chapter 2 C++ Enhancements to C

This chapter introduces some simple enhancements and improvements that C++ offers the C programmer. New features covered in this chapter include the following:

Default function arguments

The placement of variable declarations

The scope resolution operator

Inline functions

The const keyword

Enumerations

Overloaded functions

This chapter also describes how to link C and C++ modules together.