网上购物 货比三家
您现在的位置:快乐比价网 > 图书 > 计算机与网络 > 程序设计 > 商品详情

C++程序设计原理与实践-英文版

分享到:
C++程序设计原理与实践-英文版

最 低 价:¥64.10

定 价:¥89.00

作 者:(美)斯特劳斯特鲁普(Stroustru

出 版 社:机械工业出版社

出版时间:2009-10-1

I S B N:9787111282488

商品详情

编辑推荐

《C++程序设计原理与实践(英文版)》:C++之父Bjarne Stroustrup的最新力作。

内容简介

·为编写实际的应用程序做好准备    无论你是为了进行软件开发还是进行其他领域的工作。本书假定你的最终目标是学会编写实际有用的程序。    ·以基本概念和基本技术为重点    与传统的c++教材相比,本书对基本概念和基本技术的介绍更为深入。这会为你编写有用、正确.易维护和有效的代码打下坚实的基础。    ·用现代c++语言编程    本书一方面介绍了通用的程序设计方法(包括面向对象程序设计和泛型程序设计)。另一方面还对软件开发实践中使用最广泛的程序设计语言——c++进行了很好的介绍。本书从开篇就开始介绍现代c++程序设计技术,并介绍了大量关于如何使用c++标准库来简化程序设计的内容。    ·适用于初学者以及任何希望学习新知识的人    本书主要是为那些从未编写过程序的人编写的。而且已经由超过1000名大学一年级新生试用过。不过,对于专业人员和高年级学生来说,通过观察公认的程序设计大师如何处理编程中的各种问题。同样也会获得新的领悟和指引。    ·提供广阔的视野    本书第一部分非常广泛地介绍了基本程序设计技术,包括基本概念、设计和编程技术、语言特性以及标准库。这些内容教你如何编写具有输入、输出、计算以及简单图形显示等功能的程序。本书第二部分则介绍了一些更专门性的内容(如文本处理和测试),并提供了大量的参考资料。

作者简介

p>BLarne Stroustrup英国剑桥大学计算机科学博士,C++语言的设计者和最初的实现者.也是《c++程序设计语言》(已由机械工业出版社引进出版)一书的作者。他现在是德州农工大学计算机科学首席教授。1993年,由于在C++领域的重大贡献。Bjarne<

目录

PrefaceChapter 0 Notes to the Reader0.1 The structure of this book0.1.1 General approach0.1.2 Drills, exercises, etc.0.1.3 What comes after this book?0.2 A philosophy of teaching and learning0.2.1 The order of topics0.2.2 Programming and programming language0.2.3 Portability 0.3 Programming and computer science0.4 Creativity and problem solving0.5 Request for feedback0.6 References0.7 BiographiesBjarne StroustrupLawrence "Pete" PcterscnChapter 1 Computers, People, and Programming1.1 introduction1.2 Software1.3 People1.4 Computer science1.5 Computers are everywhere1.5.1 Screens and no screens1.5.2 Shipping1.5.3 Telecommunications1.5.4 Medicine1.5.5 Information1.5.6 A verdcal view1.5.7 So what?1.6 Ideals for programmersPart Ⅰ The Basics Chapter 2 Hello, World!2.1 Programs2.2 The dassic first program2.3 Compilation2.4 Linking 2.5 Programming environmentsChapter 3 Objects, Types, and Values3.1 Input 3.2 Variables3.3 Input and type3.4 Operations and operators3.5 Assignment and initialization3.5.1 An example: detect repeated words3.6 Composite assignment operators3.6.1 An example: find repeated words3.7 Names3.8 Types and objects3.9 Type safety3.9.1 Safe conversions3.9.2 Unsafe conversionsChapter 4 Computation4.1 Computation4.2 Objectives and tools4.3 Expressions 4.3.1 Constant expressions4.3.2 Operators4.3.3 Conversions4.4 Statements4.4.1 Selection4.4.2 Iteration4.5 Functions4.5.1 Why bother with functions?4.5.2 Function declarations4.6 Vector4.6.1 Growing a vector4.6.2 A numeric example4.6.3 A text example4.7 Language featuresChapter 5 Errors5.1Introduction5.2Sources of errors5.3Compile-time errors5.3.1 Syntax errors5.3.2 Type errors5.3.3 Non-errors5.4Link-time errors5.5Run-time errors5.5.1 The caller deals with errors5.5.2 The callee deals with errors5.5.3 Error reporting5.6Exceptions5.6.1 Bad arguments5.6.2 Range errors5.6.3 Bad input5.6.4 Narrowing errors5.7Logic errors5.8Estimation5.9 Debugging 5.9.1 Practical debug advice5.10 Pre-and post-conditions5.10.1 Post-conditions5.11 TestingChapter 6 Writing a Program6.1 A problem6.2 Thinking about the problem6.2.1 Stages of development6.2.2 Strategy6.3 Back to the calculator!6.3.1 First attempt6.3.2 Tokens6.3.3 Implementing tokens6.3.4 Using tokens6.3.5 Back to the drawing board6.4 Grammars6.4.1 A detour: English grammar6.4.2 Writing a grammar6.5 Turning a grammar into code6.5.1 Implementing grammar rules6.5.2 Expressions6.5.3 Terms6.5.4 Primary expressions6.6 Trying the first version6.7 Trying the second version6.8 Token streams6.8.1 Implementing Token_stream6.8.2 Reading tokens6.8.3 Reading numbers6.9 Program structureChapter 7 Completing a Program7.1 Introduction7.2 Input and output7.3 Error handling7.4 Negative numbers7.5 Remainder: %7.6 Cleaning up the code7.6.1 Symbolic constants7.6.2 Use of functions7.6.3 Gode layout7.6.4 Commenting7.7 Recovering from errors7.8 Variables7.8.1 Variables and definitions7.8.2 Introducing names7.8.3 Predefined names7.8.4 Are we there yet?

商品评论(0条)

暂无评论!

您的浏览历史

loading 内容加载中,请稍后...