C++ is a powerful, highly flexible, and adaptable
programming language that allows software engineers to
organize and process information quickly and effectively.
But this high-level language is relatively difficult to
master, even if you already know the C programming
language.
The new second edition of Practical C++ Programming is a
complete introduction to the C++ language for programmers
who are learning C++. Reflecting the latest changes to the
C++ standard, this new edition takes a useful down-to-earth
approach, placing a strong emphasis on how to design clean,
elegant code.
In short, to-the-point chapters, all aspects of
programming are covered including style, software
engineering, programming design, object-oriented design,
and debugging. It also covers common mistakes and how to
find (and avoid) them. End of chapter exercises help you
ensure you've mastered the material.
Practical C++ Programming thoroughly covers:
- C++ Syntax
- Coding standards and style
- Creation and use of object classes
- Templates
- Debugging and optimization
- Use of the C++ preprocessor
- File input/output
Steve Oualline's clear, easy-going writing style and
hands-on approach to learning make Practical C++
Programming a nearly painless way to master this complex
but powerful programming language.
Contents
Part I. The Basics
- What Is C++?
- The Basics of Program Writing
- Style
- Basic Declarations and Expressions
- Arrays, Qualifiers, and Reading Numbers
- Decision and Control Statements
- The Programming Process
Part II. Simple Programming
- More Control Statements
- Variable Scope and Functions
- The C++ Preprocessor
- Bit Operations
Part III.
Advanced Types and
Classes
- Advanced Types
- Simple Classes
- More on Classes
- Simple Pointers
Part IV. Advanced Programming Concepts
- File Input/Output
- Debugging and Optimization
- Operator Overloading
- Floating Point
- Advanced Pointers
- Advanced Classes
Part V. Other Language Features
- Exceptions
- Modular Programming
- Templates
- Standard Template Library
- Program Design
- Putting It All Together
- From C to C++
- C++'s Dustier Corners
- Programming Adages
Part VI. Appendixes
- A. ASCII Table
- B. Ranges
- C. Operator Precedence Rules
- D. Computing Sine Using a Power Series
- E. Resources