| |
| |
| |
内容简介 本书针对最新的C++规范作了全面的修订,深入地论述了C++面向对象编程的各种技术,主要内容包括:面向对象编程方法、C++语言的各种特性、STL、C++输入/输出流、MFC等。为使读者学习本书时掌握重点,各章节均配备了大量的练习和编程习题。本书在各章末列举了大量易犯的编程错误及避免这些错误的方法,以帮助读者编写出更为可靠的代码。 本书以作者讲授的C++课程为基础,特别适合大中专院校作为面向对象程序与C++语言课程的教材,同时也可作为软件开发人员的参考用书。
| |
|
顾客评论 |
|
目录 1 OBJECT-ORIENTED PROGRAMMING 1.1 Object-Oriented and Procedural Programming 1.2 Classes and Abstract Data Types 1.3 The Client/Server Model and Message Passing 1.4 Inheritance and Polymorphism 1.5 Interfaces and Components 2 FROM C TO C++ 2.1 Namespaces 2.2 Introduction to C++ Input/Output 2.3 Files 2.4 C++ Features 2.5 The Type string 2.6 Functions 2.7 The new and delete Operators 2.8 Exception Handling 3 CLASSES 3.1 Classes and Objects 3.2 Sample Application: A Stack Class 3.3 Efficiency and Robustness Issues for Classes and Objects 3.4 Sample Application: A Time Stamp Class 3.5 Constructors and the Destructor 3.6 Sample Application: A Task Class 3.7 Class Data Members and Methods 3.8 Pointers to Objects 4 INHERITANCE 4.1 Introduction 4.2 Basic Concepts and Syntax 4.3 Sample Application: Tracking Films 4.4 protected Members . 4.5 Constructors and Destructors Under Inheritance 4.6 Sample Application: A Sequence Hierarchy 4.7 Multiple Inheritance 5 POLYMORPHISM 5.1 Run-Time versus Compile-Time Binding in C++ 5.2 Sample Application: Tracking Films Revisited 5.3 Name Overloading, Name Overriding, and Name Hiding 5.4 Abstract Base Classes 5.5 Run-Time Type Identification 6 OPERATOR OVERLOADING 6.1 Basic Operator Overloading 6.2 Sample Application: A Complex Number Class 6.3 Operator Overloading Using Top-Level Functions 6.4 friend Functions 6.5 Overloading the Input and Output Operators 6.6 Overloading the Assignment Operator 6.7 Overloading Some Special Operators 6.8 Sample Application: An Associative Array …… 7 TEMPLATES AND THE STANDARD TEMPLATE LIBRARY 8 THE C++ INPUT/OUTPUT CLASS HIERARCHY 9 OBIECT-ORIENTED PROGRAMMING IN THE MICROSOFT FOUNDATION CLASSES APPENDICES HINTS AND SOtUTIONS TO ODD-NUMBERED EXERCISES INDEX
| |
C++面向对象程序设计-相关图书 ·写给大家的西洋美术史 ·网络管理员考试同步辅导(计算机与网络基础知识篇) ·越南语教程。第一册 ·Pro/ENGINEER 零件设计基础篇(下) ·孟德尔妖:基因的公正与生命的复杂 ·阿拉伯新生代政治家 ·赵延年木刻插图本故事新编 ·中国传统吉祥寓意图案(一) ·从西安到平遥 ·永乐宫壁画 ·海南行知书 ·天河圆梦 ·篮框下的阴谋 ·红楼梦与中国古代小说研究 ·LETTERS BETWEEN TWO=两地书(英文) ·学校管理基础 ·权衡论(宏观社会组织原理通论) ·中小学课程与教学改革 ·未来商务生活的样貌 ·C++程序设计教程
|
| |