C++编程思想
¥
22.85
3.9折
¥
58
九五品
仅1件
作者[美]埃克尔 著
出版社机械工业出版社
出版时间2002-01
版次1
装帧平装
货号A2
上书时间2024-11-19
商品详情
- 品相描述:九五品
图书标准信息
-
作者
[美]埃克尔 著
-
出版社
机械工业出版社
-
出版时间
2002-01
-
版次
1
-
ISBN
9787111091622
-
定价
58.00元
-
装帧
平装
-
开本
16开
-
纸张
胶版纸
-
页数
828页
-
原版书名
Thinking in C++
-
丛书
经典原版书库
- 【内容简介】
-
ThisbookisathoroughrewriteofthefirsteditiontoreflectallofthechangesintroducedinC++bythefinalizationoftheC++Standard,andalsotoreflectwhatIvelearnedsincewritingthefirstedition.Theentiretextpresentinthefirsteditionhasbeenexaminedandrewritten,sometimesremovingoldexamples,oftenchangingexistingexamplesandaddingnewones,andaddingmanynewexercises.Significantrearrangementandre-orderingofthematerialtookplacetoreflecttheavailabilityofbettertoolsandmyimprovedunderstandingofhowpeoplelearnC++.AnewchapterwasaddedwhichisarapidintroductiontotheCconceptsandbasicC++featuresforthosewhodonthavetheCbackgroundtotackletherestofthebook.TheCDROMboundintothebackofthebookcontainsaseminarthatisanevengentlerintroductiontotheCconceptsnecessarytounderstandC++(orJava).ItwascreatedbyChuckAllisonformycompany(MindView,Inc.),anditscalled"ThinkinginC:FoundationsforJavaandC++."ItintroducesyoutotheaspectsofCthatarenecessaryforyoutomoveontoC++orJava,leavingoutthenastybitsthatCprogrammersmustdealwithonaday-to-daybasisbutthattheC++andJavalanguagessteeryouawayfrom(oreveneliminate,inthecaseofJava).
- 【目录】
-
Whatsinside...
Preface
Whatsnewin
thesecondedition
Prerequisites
LearningC++
Goals
Chapters
Exercises
Sourcecode
Language
standards
Thebooks
CDROM
CDROMs,seminars
andconsulting
Errors
Aboutthecover
Bookdesignand
production
Acknowledgements
1:Introductionto
Objects
Theprogressof
abstraction
Anobjecthasan
interface
Thehidden
implementation
Reusingthe
implementation
Inheritance:reusing
theinterface
Interchangeable
objectswith
polymorphism
Creatingand
destroyingobjects
Exceptionhandling:
dealingwitherrors
Analysis
anddesign
Extreme
programming
WhyC++
Succeeds
Strategiesfor
transition
Summary
2:Making&Using
Dbjects
Theprocessof
fanguage
transtation
Toolsforseparate
compilation
Yourfirst
C++program
Moreabout
iostreams
Introducing
strings
Readingand
writingfiles
Introducing
vector
Summary
Exercises
3:TheCinC++
Creating
functions
Controlling
execution
Introductionto
operators
Introductionto
datatypes
Scoping
Specifyingstorage
allocation
Operatorsand
theiruse
Compositetype
creation
Debugginghints
Function
addresses
Make:managing
separate
compilation
Summary
Exercises
4:DataAbstraction
AtinyC-like
library
Whatswrong?
Thebasicobject
Whatsanobject?
Abstract
datatyping
Objectdetails
Headerfile
etiquette
Nestedstructures
Summary
Exercises
5:Hidingthe
Implementation
Settinglimits
C++access
control
Friends
Objectlayout
Theclass
Handleclasses
Summary
Exercises
6:Initialization&
Cleanup
Guaranteed
InitiaIizationwiththe
constructor
Guaranteedcleanup
withthe
destructor
Eliminationofthe
definitionblock
Stashwith
constructorsand
destructors
Stackwithconstructors
&destructors
Aggregate
initialization
Default
constructors
Summary
Exercises
7:FunctionOverloading
&Default
Arguments
Morename
decoration
Overloading
example
unions
Default
arguments
Choosingoverloading
vs.default
arguments
Summary
Exercises
8:Constants
Valuesubstitution
Pointers
Functionarguments&
returnvalues
Classes
volatife
Summary
Exercises
9:InlineFunctions
Preprocessor
pitfalls
Inlinefunctions
Stash&Stack
withinlines
Inlines&
thecompiler
Reducingclutter
Morepreprocessor
features
Improvederror
checking
Summary
Exercises
10:NameControl
Staticelements
fromC
Namespaces
Staticmembers
inC++
Staticinitialization
dependency
Alternatelinkage
specifications
Summary
Exercises
11:References&theCopy-Constructor
PointersinC++
References
inC++
Thecopy-
constructor
Pointers
tomembers
Summary
Exercises
12:Operator
Overloading
Warning&
reassurance
Syntax
Overloadable
operators
Non-member
operators
Overloading
assignment
Automatictype
conversion
Summary
Exercises
13:Dynamic
ObjectCreation
Objectcreation
Earlyexamples
redesigned
new&delete
forarrays
Runningout
ofstorage
Overloading
new&delete
Summary
Exercises
14:Inheritance&
Composition
Composition
syntax
Inheritance
syntax
Theconstructor
initializerlist
Combiningcomposition
&inheritance
Namehiding
Functionsthat
dontautomatically
inherit
Choosingcomposition
vs.inheritance
protected
Operatoroverloading
&inheritance
Multiple
inheritance
Incremental
development
Upcasting
Summary
Exercises
15:Polymorphism&
VirtualFunctions
EvolutionofC++
programmers
Upcasting
Theproblem
virtualfunctions
HowC++implements
latebinding
Whyvirtual
functions?
Abatractbaseclasses
andpurevirtual
functions
Inheritanceand
theVTABLE
Overloading&
overriding
virtualfunctions&
constructors
Destructorsand
virtualdestructors
Operator
overloading
Downcastion
Summary
Exercises
16:Introductionto
Templates
Containers
Overview
oftemplates
Templatesyntax
StackandStash
astemplates
Turningownership
onandoff
Holdinqobjects
byvalue
Introducing
iterators
Whyiterators?
Summary
Exercises
CodingStyle
Programming
lidelines
Recommended
ading
C
GeneralC++
Depth&
darkcorners
Analysis&design
Index
点击展开
点击收起
— 没有更多了 —
以下为对购买帮助不大的评价