第一图书网

C++大学教程

(美)戴特尔 著 电子工业出版社
出版时间:

2011-1  

出版社:

电子工业出版社  

作者:

(美)戴特尔 著  

页数:

1017  

内容概要

本书是一本C++编程方面的优秀教材,全面介绍了面向对象编程的原理和方法,详细分析了与C++编程有关的技术,具体包括类与对象、控制语句、函数与递归、数组、指针、运算符重载、继承、多态、模板、流输入/输出、异常处理、文件处理、搜索与排序、数据结构、标准模板库等内容,本书的同步学习网站上还包含了更多的扩展内容。全书以“活代码”方式详细分析了每个知识要点,是初学者和中高级程序员学习C++编程的理想用书。 本书可作为高等院校相关专业的编程语言教材和C++编程教材,也是软件设计人员学习C++编程的理想读物。

作者简介

作者:(美国)戴特尔(P.J.Deitel) (美国)H.M.DeitelPaul J.Deitel和HarveyM.Deitel博士是Deitel&Associates公司的创立者,该公司是一家国际认可的企业培训和媒体内容制作机构,主要针对C++、Java、C、C#、Visual Basic。.NET,Visual C++。.NET、XML、Python,Pen、Internes、Web和对象技术。Deitel父子编写的其他许多教材都非常畅销,包括《Java大学教程(第七版)》、《因特网和万维网大学教程》和《C大学教程(第五版)》等。

书籍目录

Contents Chapter 1 Introduction to Computers, the Internet and the World Wide Web  2 Introduction to C++ Programming  3 Introduction to Classes and Objects: Part 1 4 Control Statements: Part 2 5 Control Statements: Part 2  6 Functions and an Introduction to Recursion  7 Arrays and Vectors  8 Pointers and Pointer-Based Strings  9 Classes: A Deeper Look, Part 1  10 Classes: A Deeper Look, Part 2  11 Operator Overloading; String and Array Objects li 12 Object-Oriented Programming: Inheritance  13 Object-Oriented Programming: Polymorphism  14 Templates 564 14.1 Introduction  15 Stream Input/Output Inp 16 Exception Handling  17 File Processing  18 Class string and String Stream Processing  19 Searching and Sorting  20 Data Structures  21 Standard Template Library (STL)  22 Game Programming with Ogre 23 BoostLibraries, Technical Report 1 and C++0x  24 Other TopicsAppendix A Operator Precedence and Associativity ChartAppendix B ASCII Character SetAppendix C Fundamental TypesAppendix D Number Systems Appendix E C Legacy Code TopicsAppendix F PreprocessoAppendix G ATM Case Study CodeAppendix H UML 2: Additional Diagram TypesAppendix I Using the Visual Studio DebuggerAppendix J Using the GNU C++ DebuggerBibliography 989 Index

章节摘录

版权页:插图:We do not list any operations for class ATM at this time. We are not yet aware of any services that class ATM provides toother classes in the system. When we implement the system with C++ code, however, operations of this class, andadditional operations of the other classes in the system, may emerge.Identifying and Modeling Operation ParametersSo far, we have not been concerned with the parameters of our operations——we have attempted to gain only a basicunderstanding of the operations of each class. Let's now take a closer look at some operation parameters. We identify anoperation's parameters by examining what data the operation requires to perform its assigned task. Consider the authenticateUser operation of class BankDatabase. To authenticate a user, this operation mustknow the account number and PIN supplied by the user. Thus we specify that operation authenticateOser takesinteger parameters userAccountNumber and userPIN, which the operation must compare to the account number andPIN of an Account object in the database. We prefix these parameter names with user to avoid confusion between theoperation's parameter names and the attribute names that belong to class Account. We list these parameters in the classdiagram in Fig. 6.36 that models only class BankDatabase.[Note: It is perfectly normal to model only one class in aclass diagram. In this case, we are most concerned with examining the parameters of this one class in particular, so weomit the other classes. In class diagrams later in the case study, in which parameters are no longer the focus of ourattention, we omit the parameters to save space. Remember, however, that the operations listed in these diagrams stillhave parameters.

媒体关注与评论

这一全球广泛采用的C++教材的新版本介绍了如何使用Ogre库进行游戏编程。即使对初学者,也非常好地以‘对象第一’来诠释C++。可选学的UML实例研究引入实际进展的软件工程项目,极大地丰富教材中的实例,增强了实例驱动教学的力度。  ——Gavin Osborne.Saskatchewan institute of Applied Science and Technology早早向学生介绍UML是个好主意!  ——Eaymond Stephenson,Microsoft很好地运用了各种图示,特别对活动调用栈和递归函数而言。  ——Iunar Eaheja.California State Polytechnic University,Pomona指针的讨论太棒了,这也许是我见过的最好的。   ——Anne B.Horton,Lockheed Martin多态性部分的内容非常好!尤其是讲解了编译器实现多态性的内部机制。如果当年我做学生的时候,教材内容的组织可以象这样清晰易懂,该多好啊!  ——Ed James——Beehham,Borand包括了对搜索和排序,以及大0标记法的不错介绍。  ——Robert Myers、Florida State UniversityOgre是一个全球免费的图形绘制引擎软件,已用在一些商业游戏中。 教材中介绍Ogre的这一章很了不起,提供了令人信服和易于理解的实例,使读者不费吹灰之力马上就可以开发出简单的计算机游戏!  ——Gasey Borders(Creator of Ogre AL)、Sensis Corp使新用户达到用40页就创建出一个功能齐全且可玩的基于ogre的计算机游戏的水平,确实是一个伟大的成就。  ——Steve Sstee Sing(Creator of Ogre),Torus Knot Software Lid关于Boost/C++OX的这一章通过内存管理和正则表达式的库使你如虎添翼,并吊起你对正在进行标准化的新C++特征了解的胃口。  ——Ed Brey,Kohler Co非常出色地介绍了标准模板库(STL)。可以说,这本c++编程的教材对精益求精的学生是最好的了!  ——Richard Albright,Goidey-Beacom College只有在集中精力投入学习一个主题时,你会突然发现这本教材使你超值学到了很多东西。  ——Chad will werth,University of Was Nngton、Tacoma本教材是我目前遇到的介绍c++最为透彻的书,提供了极其丰富的贯穿整个软件开发生命周期的现实世界实例研究。代码示例确实非同凡响!  ——Terrell Hull,Logicalis Integration Solutions


编辑推荐

《C++大学教程(第6版)(英文版)》:通过完整,权哦性的DEITEL活代码介绍C++,面向对象编程(OOP)和使用UML 2的面向对象设计(OOD)。C++是极受大家欢迎的面向对象程序设计语言之一。尽早接触类/对象/面向对象编程类,对象,封装继承,多态性完整的面向对象编程实例研究: Time类,Grade Book类.Employee类基础知识历史。硬件,软件输入/输出流,类型,运算控制语句,函数数组,vector类模板指针,引用字符串类,C风格的字符串运算符重载异常处理,文件一位运算及字符操作GNU C++调试器与Visual Studio调试器数据结构递归,查找,排序链表,队列,堆栈,树模板标准模板库:容器,迭代器和算法OOOD/UML2 ATM实例研究(选学)确定类,属性,状态,活动。操作,协作示图:用例图,类图,状态图,活动图,通信图,顺序图开源的C++库使用Orge进行游戏编程Boost C++库与C++的将来《C++大学教程(第六版)(英文版)》围绕完整的实例研究。详尽地讲述C++面向对象编程。主要的实例研究包括:Grade Book类、Time类、Employee类以及可选学的OOD/UML2ATM系统。《C++大学教程(第六版)(英文版)》的用户资源包括Web站点,其中提供了教材中的代码示例以及与教师、学生和专业人士相关的信息。

图书封面

广告

下载页面


C++大学教程 PDF格式下载



讲得比较详细,有具体——很具体的例子。印刷质量也不错。


例子给的很好,知识点都是跟着例子走的,很适合初学的人。一个很大的特色是代码都是活的,都有编好的代码文档。


感觉确实写的比较细,但细的有点罗嗦了.
简单的提高下英语,还是可以的.
希望今年能把这本书啃完...


正在阅读中,感觉还是原文的看着有感觉,中文翻译的读着句子就别扭,还有可以检验下自己的英文水平哦


很棒的一本书,估计耐心看完以后就从菜鸟变高手了,现在是考验毅力的时候了。


英文版的,感觉好给力,希望能够用心看下去。如果是彩色的就更好了


虽说是原版,但是常用的家计算机词汇毕竟有限,因此还是能凑合看的。书很厚,跟它的书名一样,适合大二、大三的学生们看,可以慢慢看,对提升C++及计算机方面的外文阅读能力都是很有好处的。


相关图书