| ISBN | 出版时间 | 包装 | 开本 | 页数 | 字数 |
|---|---|---|---|---|---|
| 未知 | 暂无 | 暂无 | 未知 | 0 | 暂无 |
Preface
Chapter 1 Getting Started (新增评注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(新增评注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 (新增评注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 (新增评注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 (新增评注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 (新增评注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