Tuesday, April 09, 2002

Structure of This Book.



A Note on the Source Code.

Acknowledgments.

Where to Find More Information.

Typographical Conventions.

1. Basic C Programming.



How to Write a C Program.

Defining and Initializing a Data Object.

Writing Expressions.

Writing Conditional and Loop Statements.

How to Use Arrays and Vectors.

Pointers Allow for Flexibility.

Writing and Reading Files.





2. Procedural Programming.



How to Write a Function.

Invoking a Function.

Providing Default Parameter Values.

Using Local Static Objects.

Declaring a Function Inline.

Providing Overloaded Functions.

Defining and Using Template Functions.

Pointers to Functions Add Flexibility.

Setting Up a Header File.





3. Generic Programming.



The Arithmetic of Pointers.

Making Sense of Iterators.

Operations Common to All Containers.

Using the Sequential Containers.

Using the Generic Algorithms.

How to Design a Generic Algorithm.

Using a Map.

Using a Set.

How to Use Iterator Inserters.

Using the iostream Iterators.





4. Object-Based Programming.



How to Implement a Class.

What are Class Constructors and the Class Destructor?

What are mutable and const?

What is the this Pointer?

Static Class Members.

Building an Iterator Class.

Collaboration Sometimes Requires Friendship.

Implementing a Copy Assignment Operator.

Implementing a Function Object.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home