C++编程思想

C++编程思想
分享
扫描下方二维码分享到微信
打开微信,点击右上角”+“,
使用”扫一扫“即可将网页分享到朋友圈。
作者: [美]
2002-01
版次: 1
ISBN: 9787111091622
定价: 58.00
装帧: 平装
开本: 16开
纸张: 胶版纸
页数: 828页
原版书名: Thinking in C++
193人买过
  •   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
查看详情
12
系列丛书 / 更多
C++编程思想
计算机网络
[荷兰]塔嫩鲍姆(Tanenbaum A.S.) 著
C++编程思想
Java编程思想:英文版·第4版
[美]埃克尔 著
C++编程思想
编译原理(英文版·第2版)
[美]阿霍 著
C++编程思想
计算机科学概论(英文版·第5版)
[美]Nell、John Lewis 著
C++编程思想
经典原版书库:电子商务(英文精编版·第10版)
[美]施内德(Gary P. Schneider) 著
C++编程思想
计算机组成与设计:硬件/软件接口(英文版•第5版•亚洲版)
[美]David、John L.Hennessy 著
C++编程思想
现代操作系统(英文版·第4版)
[美]Andrew S. Tanenbaum、Herbert Bos 著
C++编程思想
离散数学及其应用(英文版)(第7版)
[美]罗森 著
C++编程思想
Java语言程序设计:基础篇(英文版)(第8版)
[美]梁(Y.Daniel Liang) 著
C++编程思想
计算机文化:(英文版·第15版)
[美]帕森斯(June Jamrich Parsons)、[美]奥贾(Dan Oja) 著
C++编程思想
Java语言程序设计(基础篇)(英文版·第10版)
[美]梁勇(Y.Daniel Liang) 著
C++编程思想
软件工程:实践者的研究方法(英文精编版 第8版)
[美]罗杰、[美]布鲁斯 R.马克西姆 著
相关图书 / 更多
C++编程思想
C++边做边学
冯玉芬;周树功;母景琴;詹胜
C++编程思想
C++程序设计基础教程 第2版
刘厚泉 李政伟 葛欣
C++编程思想
C++编程这样学
胡芳
C++编程思想
C++程序设计案例教程(线上线下混合版)
杨卫明;李晓虹
C++编程思想
C++之旅(第3版)
[美]Bjarne Stroustrup(本贾尼 斯特劳斯特鲁普
C++编程思想
C++20代码整洁之道:可持续软件开发模式实践(原书第2版)
[德]斯蒂芬·罗斯(Stephan Roth)
C++编程思想
C++ Core Guidelines解析
杨文波 译;[德]赖纳·格林(Rainer Grimm)著 吴咏炜;何荣华;张云潮
C++编程思想
C++程序设计(第4版)
周会平;徐建军;王挺
C++编程思想
C++开发案例精讲
杨国兴 著
C++编程思想
C++程序设计实践教程(新国标微课版)
马光志
C++编程思想
C++程序设计基础与实践
牛园园;韩洁琼;李晓芳;吴成宇
C++编程思想
C++程序设计基础教程
丁卫平 程学云 陈文兰 主编;任红建 沈晓红 文万志 副主编
您可能感兴趣 / 更多
C++编程思想
孩子,把你的手给我1:怎么说孩子才爱听,怎么教孩子才肯学?帮助每一位3-12岁孩子的父母结束与孩子的所有冲突!
[美]海姆·G.吉诺特
C++编程思想
怎样做成大事
[美]丹·加德纳(Dan Gardner) 著;贾拥民 译;湛庐文化 出品;[丹麦]傅以斌(Bent Flyvbjerg)
C++编程思想
1200年希腊罗马神话
[美]伊迪丝·汉密尔顿
C++编程思想
爱情心理学(新编本)
[美]罗伯特·J. 斯腾伯格 (美)凯琳·斯腾伯格 倪爱萍 译
C++编程思想
黄金圈法则
[美]西蒙·斯涅克 著;磨铁文化 出品
C++编程思想
汤姆·索亚历险记 彩图注音版 一二三四年级5-6-7-8-9岁小学生课外阅读经典 儿童文学无障碍有声伴读世界名著童话故事
[美]马克 吐温
C++编程思想
富兰克林自传 名家全译本 改变无数人命运的励志传奇 埃隆马斯克反复推荐 赠富兰克林签名照及精美插图
[美]本杰明·富兰克林 著;李自修 译
C++编程思想
意大利文艺复兴新艺术史
[美]迈克尔·韦恩·科尔 著;[美]斯蒂芬·J·坎贝尔;邵亦杨
C++编程思想
汤姆素亚历险记:中小学生课外阅读快乐读书吧 儿童文学无障碍有声伴读世界名著童话故事
[美]马克·吐温
C++编程思想
老人与海 彩图注音版 一二三四年级5-6-7-8-9岁小学生课外阅读经典 儿童文学无障碍有声伴读世界名著童话故事
[美]海明威
C++编程思想
国际大奖图画书系列 共11册(小老鼠的恐惧的大书,大灰狼,红豆与菲比,别烦我,下雪了 ,穿靴子的猫 ,先有蛋,绿 ,特别快递,如果你想看鲸鱼 ,一个部落的孩子 ) 麦克米伦世纪
[美]莱恩·史密斯 (英)埃米莉·格雷维特 (美)劳拉·瓦卡罗·等/文 (英)埃米莉·格雷维特 等/图 彭懿 杨玲玲 阿甲 孙慧阳 白薇 译
C++编程思想
Java编程思想:英文版·第4版
[美]埃克尔 著