首页  软件  游戏  图书  电影  电视剧

请输入您要查询的图书:

 

图书 Accelerated C++(英文版)
内容
编辑推荐

为什么本书给我们的印象会如此深刻呢?这是因为:

它一开始就讲授最有用的概念,而不是最基本的概念。读者很快就能够开始编程:

它描述的是现实中的问题和解决方案,而不只是语言功能。读者不但能够学会这些功能,而且知道如何使用它们。

它的内容涉及语言和标准库。读者从一开始就可以使用标准库来编程。

作者通过在美国斯坦福大学的教学证明了上述方法的有效性:学生在第一堂课中就学习到如何编写实用的程序。

内容推荐

你也许会发现将本书分成两个部分进行考虑会更方便一些。第一部分为前七章,专注于使用标准库抽象进行编程。第二部分从第8章开始,讨论如何定义你自己的抽象。

首先介绍库是一个非同寻常的主意,但我们认为这是正确的。C++语言的许多部分——尤其是那些较困难的部分——主要出于库作者利益的考虑而存在的。库的用户根本无需了解语言的那些部分。因此在第一部分中我们避开语言的这些特性不谈,与使用较传统的方式相比,我们的方式使得更快地编写出有意义的c++程序成为可能。

目录

Preface

Chapter 0   Getting started

0.1 Comments

0.2    #include

0.3    The main function

0.4    Curly braces

0.5    Using the standard library for output

0.6    The return statement

0.7    A slightly deeper look

0.8   Details

Chapter I   Working with strings

1.1   Input

1.2    Framing a name

1.3   Details

Chapter 2   Looping and counting

2.1    The problem

2.2    Overall structure

2.3    Writing an unknown number of rows

2.4    Writing a row

2.5    The complete framing program

2.6    Counting

2.7   Details

Chapter 3   Working with batches of data

3.1    Computing student grades

3.2    Using medians instead of averages

3.3   Details

Chapter 4   Organizing programs and data

4.1    Organizing computations

4.2    Organizing data

4.3    Putting it all together

4.4    Partitioning the grading program

4.5    The revised grading program

4.6   Details

Chapter 5   Using sequential containers and analyzing strings

5.1    Separating students into categories

5.2    Iterators

5.3    Using iterators instead of indices

5.4    Rethinking our data structure for better performance

5.5    The list type

5.6    Taking strings apart

5.7    Testing our split function

5.8    Putting strings together

5.9    DetaiLs

Chapter 6   Using library algorithms

6.1    Analyzing strings

6.2    Comparing grading schemes

6.3    Classifying students, revisited

6.4    Algorithms, containers, and iterators

6.5    Details

Chapter 7   Using associative containers

7.1    Containers that support efficient look-up

7.2    Counting words

7.3    Generating a cross-reference table

7.4    Generating sentences

7.5    A note on performance

7.6    Details

Chapter 8   Writing generic functions

8.1    What is a generic function?

8.2    Data-structure independence

8.3    Input and output iterators

8.4    Using iterators for flexibility

8.5   Details

Chapter 9   Defining new types

9.1    Student_info revisited

9.2    Class types

9.3    Protection

9.4    The Student_info dass

9.5    Constructors

9.6    Using the Student_info class

9.7   Details

Chapter 10  Managing memory and low-level data structures

  10.1    Pointers and arrays

  10.2    String literals revisited

  10.3    Initializing arrays of character pointers

  10.4    Arguments to main

  10.5    Reading and writing files

  10.6    Three kinds of memory management

  10.7    Details

Chapter 11  Defining abstract data types

  11.1    The vec class

  11.2    Implementing the vec class

  11.3    Copy control

  11.4    Dynamic vecs

  11.5    Flexible memory management

  11.6    Details

Chapter 12 Making class objects act like values

  12.1    A simple string class

  12.2    Automatic conversions

  12.3    Str operations

  12.4    Some conversions are hazardous

  12.5    Conversion operators

  12.6    Conversions and memory management

  12.7    Details

Chapter 13  Using inheritance and dynamic binding

  13.1    Inheritance

  13.2    Polymorphism and virtual functions

  13.3    Using inheritance to solve our problem

  13.4    A simple handle class

  13.5    Using the handle class

  13.6    Subtleties

  13.7    Details

Chapter 14  Managing memory (almost) automatically

  14.1   Handles that copy their objects

  14.2    Reference-counted handles

  14.3    Handles that let you decide when to share data

  14.4    An improvement on controllable handles

  14.5   Details

Chapter 15  Revisiting character pictures

  15.1   Design

  15.2    Implementation

  15.3   Details

Chapter 16  Where do we go from here?

  16.1    Use the abstractions you have

  16.2    Learn more

Appendix A  Language details

  A.1    Declarations

  A.2    Types

  A.3    Expressions

  A.4    Statements

Appendix B  Library summary

B.1   Input-output

B.2    Containers and iterators

B.3    Algorithms

Index

标签
缩略图
书名 Accelerated C++(英文版)
副书名
原作名
作者 (美)凯尼格
译者
编者
绘者
出版社 机械工业出版社
商品编码(ISBN) 9787111188315
开本 16开
页数 336
版次 1
装订 平装
字数
出版时间 2006-04-01
首版时间 2006-04-01
印刷时间 2006-04-01
正文语种
读者对象 青年(14-20岁),普通成人
适用范围
发行范围 公开发行
发行模式 实体书
首发网站
连载网址
图书大类
图书小类
重量 0.468
CIP核字
中图分类号 TP312
丛书名
印张 22
印次 1
出版地 北京
242
170
13
整理
媒质 图书
用纸 普通纸
是否注音
影印版本 原版
出版商国别 CN
是否套装 单册
著作权合同登记号 图字01-2006-1935
版权提供者 Pearson Education Asia Ltd.
定价
印数
出品方
作品荣誉
主角
配角
其他角色
一句话简介
立意
作品视角
所属系列
文章进度
内容简介
作者简介
目录
文摘
安全警示 适度休息有益身心健康,请勿长期沉迷于阅读小说。
随便看

 

兰台网图书档案馆全面收录古今中外各种图书,详细介绍图书的基本信息及目录、摘要等图书资料。

 

Copyright © 2004-2025 xlantai.com All Rights Reserved
更新时间:2025/5/8 1:55:47