Description C++ Primer, Fourth Edition has been completely revised and rewritten to conform to today's C++ usage. Students new to C++ will find a clear and practically organized introduction to the language enhanced by numerous pedagogical aids. The fourth edition represents a complete restructuring and revision of the Primer. The authors’ motivation in this edition is to teach effective styles of modern C++ programming. To this end, they introduce the Standard Library and generic programming much earlier in the text. Many examples have been reformulated to take advantage of library facilities. Their focus is to show how to use the standard library abstractions rather than the low-level facilities built into the language. They've also streamlined and reordered the presentation of language topics.
Each chapter also contains a Summary section outlining the important topics covered in that chapter. Extensive forward and backward cross-references are provided to make it easier to follow the interrelationships among various features and concepts. Occasional sidebar discussions are also provided to highlight important concepts, general advice or cautions. The authors have also incorporated a series of short sections that denote particularly important points, warn about common pitfalls, suggest good programming practices, and provide general usage tips.
Features
A best-seller completely revised and rewritten to conform to today's C++ usage.
A favorite choice for a first C++ book--greatly improved and updated for modern C++ programming.
Reorganized to better address the novice audience, making it more approachable for non-C programmers.
Features many new examples that are less advanced and more accessible to novices as well as experienced programmers--folks who already use C++ need this book too.
New to This Edition
Reorganized to better address the novice audience, making it more approachable for non-C programmers.
Created many new examples that are less advanced and more accessible to novices as well as experienced programmers students who already use C++ can use this book too.
Added Barbara Moo as a co-author; she brings an understanding of how to teach modern C++ based on years of teaching and writing about C++.
Table of Contents
Chapter 1. Getting Started
Part I. The Basics
Chapter 2. Variables and Basic Types
Chapter 3. Library Types
Chapter 4. Arrays and Pointers
Chapter 5. Expressions
Chapter 6. Statements
Chapter 7. Functions
Chapter 8. The IO Library
Part II. Containers and Algorithms
Chapter 9. Sequential Containers
Chapter 10. Associative Containers
Chapter 11. Generic Algorithms
Part III. Classes and Data Abstraction
Chapter 12. Classes
Chapter 13 Copy Control
Chapter 14. Overloaded Operations and Conversions
Part IV. Object-Oriented and Generic Programming
Chapter 15. Object-Oriented Programming
Chapter 16. Templates and Generic Programming
Part V. Advanced Topics
Chapter 17. Tools for Large Programs
Chapter 18. Specialized Tools and Techniques
Appendix A. The Library
Index
Stanley B. Lippman is Architect with the Visual C++ development team at Microsoft. Previously, he served as a Distinguished Consultant at the Jet Propulsion Laboratories (JPL). Stan spent more than twelve years at Bell Laboratories, where he worked with Bjarne Stroustrup on the original C++ implementation and the Foundation research project. After Bell Laboratories, Stan worked at Disney Feature Animation, originally as principal software engineer, then as software technical director on Fantasia 2000.