本书是一本C++编程方面的优秀教程,全面地介绍了过程式编程与面向对象编程的原理和方法,细致地分析了各种性能问题、移植性问题和可能出错的地方,介绍了如何提高软件工程质量,详细介绍了新的ANSI C++标准和标准模板库(STL),并提供了丰富的自测练习和项目练习,可以说本书是最好的学习C++语言的教程之一,是学习C++编程的“宝典”。本书所配的“多媒体教室”光盘更是独具特色,通过交互式环境,使学习过程更加生动有趣。
本书是一本C++编程方面的优秀教程,全面介绍了过程式编程与面向对象编程的原理与方法,细致地分析了各种性能问题、可移植性问题及可能出错的情况。与第四版相比,本书从内容和结构上都做了较大幅度的修订与有意义的提升,特别是在“尽早接触类和对象”这一观点的指导下,从第1章就开始介绍类和对象的内容,突破了传统的教学模式,使学生直接“考虑对象”和深入掌握面向对象的基本概念。作者通过大量的示例程序,重点突出了利用UML进行面向对象的设计,引入了使用CGI的Web应用开发,并且帮助学生创建真实世界的C++应用程序。本书无论从广度还是深度上来说都非常全面,并且从基础概念讲起,同样适合没有编程经验的读者学习。
本书可作为高等院校相关专业的编程语言教材和C++编程教材,也是软件设计人员进行C++程序开发的宝贵参考资料。
Chapter 1 Introduction to Computers, the Intemet and World Wide Web
Chapter 2 Introduction to C++ Programming
Chapter 3 Introduction to Classes and Objects
Chapter 4 Control Statements: Part 1
Chapter 5 Control Statements: Part 2
Chapter 6 Ftmetions and an Introduction to Recursion
Chapter 7 Arrays and Vectors
Chapter 8 Pointers and Pointer-Based Strings
Chapter 9 Classes: A Deeper Look, Part 1
Chapter 10 Classes: A Deeper Look, Part 2
Chapter 11 Operator Overloading: String and Array Objects
Chapter 12 Object-Oriented Programming: Inheritance
Chapter 13 Object-Oriented Programming: Polymorphism
Chapter 14 Templates
Chapter 15 Stream Input/Output
Chapter 16 Exception Handling
Chapter 17 File Processing
Chapter 18 Class string and String Stream Processing
Chapter 19 Web Programming
Chapter 20 Searching and Sorting
Chapter 21 Data Structures
Chapter 22 Bits, Characters, Streams and Structures
Chapter 23 Standard Template Library
Chapter 24 Other Topics
Appendix A Operator Precedence and Associativity Chart
Appendix B ASCH Character Set
Appendix C Fundamental Types
Appendix D Number Systems
Appendix E C Legacy Code Topics
Appendix F Preprocessor
Appendix G ATM Case Study Code
Appendix H UML 2: Additional Diagram Types
Appendix I C++ Internet and Web Resources
Appendix J Introduction to XHTML
Appendix K XHTML Special Characters
Appendix L Using the Visual Studio .NET Debugger
Appendix M Using the GNU C++ Debugger
Bibliography
Index