Stanley B.Lippman,曾任微軟Visual C++團(tuán)隊(duì)架構(gòu)師,他從1984年起在貝爾實(shí)驗(yàn)室與C++之父Bjarne Stroustrup一同工作,開發(fā)C++編譯器。他曾在迪斯尼和夢(mèng)工廠從事電影動(dòng)畫制作,曾擔(dān)任美國(guó)噴氣推進(jìn)實(shí)驗(yàn)室的顧問(wèn)。他還撰寫了《深度探索C++對(duì)象模型》等書。 Josee Lajoie,曾就職于IBM加拿大C/C++編譯器開發(fā)組。為ISO C++標(biāo)準(zhǔn)委員會(huì)服務(wù)了7年,擔(dān)任核心語(yǔ)言工作組主席,并是《C++ Report》的專欄作者。 Barbara E.Moo,現(xiàn)在是一名獨(dú)立顧問(wèn),具有25年軟件研發(fā)經(jīng)驗(yàn)。她在AT&T與Stroustrup和Lippman緊密合作,管理復(fù)雜的C++開發(fā)項(xiàng)目。Moo和Andrew Koenig一同撰寫了《Accelerated C++》和《Ruminations on C++》。
圖書目錄
Preface
Chapter 1 Getting Started (新增評(píng)注29 條)
1.1 Writing a Simple C++Program
1.1.1 Compiling and Executing Our Program
1.2 AFirstLookat Input/Output
1.2.1 StandardInput andOutputObjects
1.2.2 AProgramthatUses the IOLibrary
1.3 AWordAboutComments
1.4 Control Structures
1.4.1 The whileStatement
1.4.2 The forStatement
1.4.3 The ifStatement
1.4.4 ReadinganUnknownNumberof Inputs
1.5 IntroducingClasses
1.5.1 The Sales_itemClass
1.5.2 AFirstLookatMemberFunctions
1.6 The C++Program
Part I The Basics
Chapter 2 Variables and Basic Types(新增評(píng)注42 條)
2.1 PrimitiveBuilt-inTypes
2.1.1 IntegralTypes
2.1.2 Floating-PointTypes
2.2 LiteralConstants
2.3 Variables
2.3.1 What Is aVariable?
2.3.2 TheNameof aVariable
2.3.3 DefiningObjects
2.3.4 VariableInitializationRules
2.3.5 Declarations andDefinitions
2.3.6 Scopeof aName
2.3.7 DefineVariablesWhereTheyAreUsed
2.4 constQualifier
2.5 References
2.6 TypedefNames
2.7 Enumerations
2.8 ClassTypes
2.9 Writing Our Own Header Files
2.9.1 DesigningOurOwnHeaders
2.9.2 ABrief IntroductiontothePreprocessor
Chapter 3 Library Types (新增評(píng)注30 條)
3.1 Namespace usingDeclarations
3.2 Library stringType
3.2.1 Defining and Initializing strings
3.2.2 Reading andWriting strings
3.2.3 Operations on strings
3.2.4 Dealing with the Characters of a string
3.3 Library vectorType
3.3.1 Defining and Initializing vectors
3.3.2 Operations on vectors
3.4 IntroducingIterators
3.4.1 IteratorArithmetic
3.5 Library bitsetType
3.5.1 Defining and Initializing bitsets
3.5.2 Operations on bitsets
Chapter 4 Arrays and Pointers (新增評(píng)注33 條)
4.1 Arrays
4.1.1 DefiningandInitializingArrays
4.1.2 OperationsonArrays
4.2 IntroducingPointers
4.2.1 What Is aPointer?
4.2.2 DefiningandInitializingPointers
4.2.3 OperationsonPointers
4.2.4 UsingPointers toAccessArrayElements
4.2.5 Pointers and the constQualifier
4.3 C-StyleCharacterStrings
4.3.1 DynamicallyAllocatingArrays
4.3.2 InterfacingtoOlderCode
4.4 MultidimensionedArrays
4.4.1 Pointers andMultidimensionedArrays
Chapter 5 Expressions (新增評(píng)注49 條)
5.1 ArithmeticOperators
5.2 Relational andLogicalOperators
5.3 TheBitwiseOperators
5.3.1 Using bitsetObjectsor IntegralValues
5.3.2 Usingthe ShiftOperators for IO
5.4 AssignmentOperators
5.4.1 Assignment IsRightAssociative
5.4.2 AssignmentHasLowPrecedence
5.4.3 CompoundAssignmentOperators
5.5 Increment andDecrementOperators
5.6 TheArrowOperator
5.7 TheConditionalOperator
5.8 The sizeofOperator
5.9 CommaOperator
5.10 EvaluatingCompoundExpressions
5.10.1 Precedence
5.10.2 Associativity
5.10.3 OrderofEvaluation
5.11 The new and deleteExpressions
5.12 TypeConversions
5.12.1 WhenImplicitTypeConversionsOccur
5.12.2 TheArithmeticConversions
5.12.3 Other ImplicitConversions
5.12.4 ExplicitConversions
5.12.5 WhenCastsMightBeUseful
5.12.6 NamedCasts
5.12.7 Old-StyleCasts
Chapter 6 Statements (新增評(píng)注29 條)
6.1 Simple Statements
6.2 DeclarationStatements
6.3 CompoundStatements (Blocks)
6.4 StatementScope
6.5 The ifStatement
6.5.1 The if Statement elseBranch
6.6 The switchStatement
6.6.1 Using a switch
6.6.2 Control Flow within a switch
6.6.3 The defaultLabel
6.6.4 switchExpressionandCaseLabels
6.6.5 Variable Definitions inside a switch
6.7 The whileStatement
6.8 The forLoopStatement
6.8.1 Omitting Parts of the forHeader
6.8.2 Multiple Definitions in the forHeader
6.9 The do whileStatement
6.10 The breakStatement
6.11 The continueStatement
6.12 The gotoStatement
6.13 tryBlocks andExceptionHandling
6.13.1 A throwExpression
6.13.2 The tryBlock
6.13.3 StandardExceptions
6.14 Usi