C++编程思想

C++编程思想
分享
扫描下方二维码分享到微信
打开微信,点击右上角”+“,
使用”扫一扫“即可将网页分享到朋友圈。
作者: [美]
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
  • 内容简介:
      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
查看详情
您可能感兴趣 / 更多
C++编程思想
C++之旅(第3版)(英文版)
(美)本贾尼·斯特劳斯特鲁普
C++编程思想
C++趣味编程及算法入门 全国青少年软件编程等级考试与信息学竞赛通关指南(附600道习题+700个教学视频)
王桂平 等 编著
C++编程思想
C++那些事
程克非,张兴,崔晓通,秦蔚蓉
C++编程思想
C++编程这样学
胡芳
C++编程思想
C++程序设计案例教程(线上线下混合版)
杨卫明;李晓虹
C++编程思想
C++之旅(第3版)
[美]Bjarne Stroustrup(本贾尼 斯特劳斯特鲁普
C++编程思想
C++面向对象程序设计(第4版)
谭浩强
C++编程思想
C++高性能编程
(瑞典)比约恩 安德里斯特(Bj.rn Andrist),(瑞典)维克托 塞尔(Viktor Sehr)
C++编程思想
C++开发案例精讲
杨国兴 著
C++编程思想
C++ Concurrency in Action
Anthony Williams
C++编程思想
C++语言设计教程(计算机专业十四五精品教材)
苏菲、王芬、朱腾 编
C++编程思想
C++程序设计基础教程
丁卫平 程学云 陈文兰 主编;任红建 沈晓红 文万志 副主编
系列丛书 / 更多
C++编程思想
C++之旅(第3版)(英文版)
(美)本贾尼·斯特劳斯特鲁普
C++编程思想
C++趣味编程及算法入门 全国青少年软件编程等级考试与信息学竞赛通关指南(附600道习题+700个教学视频)
王桂平 等 编著
C++编程思想
C++那些事
程克非,张兴,崔晓通,秦蔚蓉
C++编程思想
C++编程这样学
胡芳
C++编程思想
C++程序设计案例教程(线上线下混合版)
杨卫明;李晓虹
C++编程思想
C++之旅(第3版)
[美]Bjarne Stroustrup(本贾尼 斯特劳斯特鲁普
C++编程思想
C++面向对象程序设计(第4版)
谭浩强
C++编程思想
C++高性能编程
(瑞典)比约恩 安德里斯特(Bj.rn Andrist),(瑞典)维克托 塞尔(Viktor Sehr)
C++编程思想
C++开发案例精讲
杨国兴 著
C++编程思想
C++ Concurrency in Action
Anthony Williams
C++编程思想
C++语言设计教程(计算机专业十四五精品教材)
苏菲、王芬、朱腾 编
C++编程思想
C++程序设计基础教程
丁卫平 程学云 陈文兰 主编;任红建 沈晓红 文万志 副主编
相关图书 / 更多
C++编程思想
C++之旅(第3版)(英文版)
(美)本贾尼·斯特劳斯特鲁普
C++编程思想
C++趣味编程及算法入门 全国青少年软件编程等级考试与信息学竞赛通关指南(附600道习题+700个教学视频)
王桂平 等 编著
C++编程思想
C++那些事
程克非,张兴,崔晓通,秦蔚蓉
C++编程思想
C++编程这样学
胡芳
C++编程思想
C++程序设计案例教程(线上线下混合版)
杨卫明;李晓虹
C++编程思想
C++之旅(第3版)
[美]Bjarne Stroustrup(本贾尼 斯特劳斯特鲁普
C++编程思想
C++面向对象程序设计(第4版)
谭浩强
C++编程思想
C++高性能编程
(瑞典)比约恩 安德里斯特(Bj.rn Andrist),(瑞典)维克托 塞尔(Viktor Sehr)
C++编程思想
C++开发案例精讲
杨国兴 著
C++编程思想
C++ Concurrency in Action
Anthony Williams
C++编程思想
C++语言设计教程(计算机专业十四五精品教材)
苏菲、王芬、朱腾 编
C++编程思想
C++程序设计基础教程
丁卫平 程学云 陈文兰 主编;任红建 沈晓红 文万志 副主编