文档介绍:Contents i
What’s New with This Edition
Teach Yourself ANSI C++ in 21 Days, Premier Edition, is a new edition of the
international bestseller, Teach Yourself C++ in 21 Days. This Premier Edition offers
more than just 21 days of learning ANSI/ISO C++.
Major changes throughout this edition have been made to reflect the latest ANSI/
ISO C++ draft standard. In addition, seven new lessons, referred to as “Bonus Days,”
have been added to provide you with additional information for creating more
sophisticated programs. The Bonus Day lessons are not required reading in order
for you to learn to program in C++. As a matter of fact, on the very first day you will
write a simple C++ program.
On Bonus Day 22, “Advanced C++ Features,” you learn to use a collection of
specialized ANSI C++ tools that many programmers don’t even realize exist. These
tools are not essential for every C++ programmer to know but are indispensable in
many circumstances.
Bonus Day 23, “More About Streams,” covers some of the more advanced streams
programming techniques. pleting this lesson, you will have all you need
to create new manipulators for the stream classes you learn to create on Day 16. You
will also learn a great deal about other streams programming techniques that space
would not allow us to cover on Day 16.
On Bonus Day 24, “Object-Oriented Design,” you learn more about this important
subject. Without object-oriented design techniques, C++ is “just another C” with
few advantages over its predecessor. This lesson helps you think in a way that builds
on the object-oriented design paradigm.
Bonus Days 25 and 26, “Data Structures” and “Simple Sorting and Searching
Algorithms,” respectively, introduce you to the inner sanctum puter science.
On these two days you learn how to solve mon categories of problems.
“Common Mistakes and Basic Debugging,” on Bonus Day 27, is designed to help
you avoid some of mon mistakes that many beginning program