C++ primer (4th Edition)
读书日记
Preface
1
.现代C++的三部分内容:
· The low-level language, largely inherited from C
· More advanced language features that allow us to define our own data types and to organize large-scale programs and systems
· The standard library, which uses these advanced features to provide a set of useful data structures and algorithms
2.本书结构:
Parts 1&2 (The Basics & Container and Algorithms(运算法则)) cover the basic language and library facilities. The focus of these parts is to learn how to write C++ programs and how to use the abstractions from the library.
Part3 Classes and Data Abstraction
是本是的核心,也是要学习的重点。
CITING:
Part III through
V focuses on how we can write our own types.
Part III introduces the heart of C++: its support for classes. The class mechanism provides the basis for writing our own abstractions. Classes are also the foundation for object-oriented and generic programming, which we cover in
Part IV. The
Primer concludes with Part V, which covers advanced features that are of most use in structuring large, complex systems.