Informit.com brings its online reference guides to print!
Started several years ago as on online document for those who wanted to know more about C++, the Informit C++ Reference Guide grew into a rich repository of insights, advice, and great resources for every programmer. At the request of many readers, we’ve created this convenient print version.
The Informit C++ Reference Guide offers the fundamentals of C++ knowledge, as well as essays, commentaries, and opinions that make it much more that your basic introduction to C++. The first 15 chapters contain the mandatory C++ knowledge base -- what every C++ programmer should know. These topics include the Special Member Functions, Operator Overloading, Memory Management, Templates, Object-Oriented Programming and Design, the Standard Library, to name a few.
The C++ Reference Guide has always been much more than an online C++ tutorial, though. The ability to react on a weekly basis to new developments in the C++ and IT arenas has turned it into an ongoing dialog with the latest trends and emerging technologies. Therefore, this book is also a collection of essays, commentaries and excursions about various topics that aren't necessarily confined to pure C++ programming. Chapter 16, "A Tour of C99" presents the recent changes in standard C, (some of which are currently being integrated into C++ as well). Chapter 17, "Dynamic Linking", discusses the probable standardization of a dynamic linking interface and demonstrates how POSIX and Windows implement this feature. Chapter 18, "Tips and Techniques", which is the largest chapter in this book, contains dozens of "how do I?" style recipes for solving common programming tasks, as well as short essays about miscellaneous topics: migrating to 64-bit platforms, complex arithmetic, the C++ object model, const declarations, and many others. Chapter 19, "Design Patterns" is dedicated to Patterns and Pattern-related topics: Anti-patterns and Refactoring. Chapter 20, "C++0X: The New Face of Standard C++" presents some of the latest additions to standard C++, including TR1's
This book summarizes more than two years of C++ writing. Whether you're a beginner or a seasoned C++ programmer, this convenient and portable format will serve you well in your everyday design and programming engagements.
Download the sample chapter for this title.
Chapter 1 What Is C++? 1
C++ as “Better C” 1
The Structure of a C++ Program 3
Support for Object-Oriented Programming 6
Generic Programming 6
InformIT Articles and Sample Chapters 7
Books and e-Books 8
Official Documentation 9
Chapter 2 Special Member Functions: Constructors, Destructors, and the Assignment Operator 11
Trivial Constructors 13
Pseudo-Constructors of Built-in Types 13
explicit Constructors 14
Constructor Categories 14
The explicit Keyword 16
Member Initialization Lists 17
Copy Constructor 20
Assignment Operator 21
Explicit Destructor Invocation 22
InformIT Articles and Sample Chapters 23
Books and e-Books 24
Online Resources 24
Chapter 3 Operator Overloading 25
Operator Overloading Guidelines 26
Returning Objects by Value 29
Overloading and User-Defined Types 30
Conversion Operators 32
Books and e-Books 34