Thinking in C++

副标题:无

作   者:(美)Bruce Eckel著

分类号:

ISBN:9787111091622

微信扫一扫,移动浏览光盘

简介

   This book is a thorough rewrite of the first edition to reflect all of the changes introduced in C++ by the finalization of the C++ Standard, and also to reflect what I've learned since writing the first edition. The entire text present in the first edition has been examined and rewritten, sometimes removing old examples, often changing existing examples and adding new ones, and adding many new exercises. Significant rearrangement and re-ordering of the material took place to reflect the availability of better tools and my improved understanding of how people learn C++. A new chapter was added which is a rapid introduction to the C concepts and basic C++ features for those who don't have the C background to tackle the rest of the book. The CD ROM bound into the back of the book contains a seminar that is an even gentler introduction to the C concepts necessary to understand C++ (or Java). It was created by Chuck Allison for my company (MindView, Inc.), and it's called "Thinking in C: Foundations for Java and C++." It introduces you to the aspects of C that are necessary for you to move on to C++ or Java, leaving out the nasty bits that C programmers must deal with on a day-to-day basis but that the C++ and Java languages steer you away from (or even eliminate, in the case of Java).   

目录

what's inside...

preface

what's new in

the second edition

prerequisites

learning c++

goals

chapters

exercises

source code

language

standards

the book's

cd rom

cd roms, seminars

and consulting

errors

about the cover

book design and

production

.acknowledgements

1: introduction to

objects

the progress of

abstraction

an object has an

interface

the hidden

implementation

reusing the

implementation

inheritance: reusing

the interface

interchangeable

objects with

polymorphism

creating and

destroying objects

exception handling:

dealing with errors

analysis

and design

extreme

programming

why c++

succeeds

strategies for

transition

summary

2: making & using

dbjects

the process of

fanguage

transtation

tools for separate

compilation

your first

c++ program

more about

iostreams

introducing

strings

reading and

writing files

introducing

vector

summary

exercises

3: the c in c++

creating

functions

controlling

execution

introduction to

operators

introduction to

data types

scoping

specifying storage

allocation

operators and

their use

composite type

creation

debugging hints

function

addresses

make:managing

separate

compilation

summary

exercises

4: data abstraction

a tiny c-like

library

what's wrong?

the basic object

what's an object?

abstract

data typing

object details

header file

etiquette

nested structures

summary

exercises

5: hiding the

implementation

setting limits

c++ access

control

friends

object layout

the class

handle classes

summary

exercises

6: initialization &

cleanup

guaranteed

initiaiization with the

constructor

guaranteed cleanup

with the

destructor

elimination of the

definition block

stash with

constructors and

destructors

stack with constructors

& destructors

aggregate

initialization

default

constructors

summary

exercises

7: function overloading

& default

arguments

more name

decoration

overloading

example

unions

default

arguments

choosing overloading

vs. default

arguments

summary

exercises

8: constants

value substitution

pointers

function arguments &

return values

classes

volatife

summary

exercises

9: inline functions

preprocessor

pitfalls

inline functions

stash & stack

with inlines

inlines &

the compiler

reducing clutter

more preprocessor

features

improved error

checking

summary

exercises

10: name control

static elements

from c

namespaces

static members

in c++

static initialization

dependency

alternate linkage

specifications

summary

exercises

11:references & the copy-constructor

pointers in c++

references

in c++

the copy-

constructor

pointers

to members

summary

exercises

12: operator

overloading

warning &

reassurance

syntax

overloadable

operators

non-member

operators

overloading

assignment

automatic type

conversion

summary

exercises

13: dynamic

object creation

object creation

early examples

redesigned

new & delete

for arrays

running out

of storage

overloading

new & delete

summary

exercises

14: inheritance &

composition

composition

syntax

inheritance

syntax

the constructor

initializer list

combining composition

& inheritance

name hiding

functions that

don't automatically

inherit

choosing composition

vs. inheritance

protected

operator overloading

& inheritance

multiple

inheritance

incremental

development

upcasting

summary

exercises

15: polymorphism &

virtual functions

evolution of c++

programmers

upcasting

the problem

virtual functions

how c++ implements

late binding

why virtual

functions?

abatract base classes

and pure virtual

functions

inheritance and

the vtable

overloading &

overriding

virtual functions &

constructors

destructors and

virtual destructors

operator

overloading

downcastion

summary

exercises

16:introduction to

templates

containers

overview

of templates

template syntax

stack and stash

as templates

turning ownership

on and off

holdinq objects

by value

introducing

iterators

why iterators?

summary

exercises

coding style

programming

lidelines

recommended

ading

c

general c+ +

depth &

dark corners

analysis & design

index




已确认勘误

次印刷

页码 勘误内容 提交人 修订印次

Thinking in C++
    • 名称
    • 类型
    • 大小

    光盘服务联系方式: 020-38250260    客服QQ:4006604884

    意见反馈

    14:15

    关闭

    云图客服:

    尊敬的用户,您好!您有任何提议或者建议都可以在此提出来,我们会谦虚地接受任何意见。

    或者您是想咨询:

    用户发送的提问,这种方式就需要有位在线客服来回答用户的问题,这种 就属于对话式的,问题是这种提问是否需要用户登录才能提问

    Video Player
    ×
    Audio Player
    ×
    pdf Player
    ×
    Current View

    看过该图书的还喜欢

    some pictures

    解忧杂货店

    东野圭吾 (作者), 李盈春 (译者)

    亲爱的云图用户,
    光盘内的文件都可以直接点击浏览哦

    无需下载,在线查阅资料!

    loading icon