没有合适的资源?快使用搜索试试~ 我知道了~
C++ Primer 第5版 ,C++程序员 必读系列
需积分: 5 2 下载量 83 浏览量
2023-04-24
22:20:02
上传
评论
收藏 12.53MB PDF 举报
温馨提示
试读
1667页
C++ Primer 第5版 ,C++程序员 必读系列
资源推荐
资源详情
资源评论
C++Primer,FifthEdition
StanleyB.Lippman
JoséeLajoie
BarbaraE.Moo
UpperSaddleRiver,NJ•Boston•Indianapolis•SanFrancisco
NewYork•Toronto•Montreal•London•Munich•Paris•Madrid
Capetown•Sidney•Tokyo•Singapore•MexicoCity
Manyofthedesignationsusedbymanufacturersandsellersto
distinguishtheirproductsareclaimedastrademarks.Wherethose
designationsappearinthisbook,andthepublisherwasawareofa
trademarkclaim,thedesignationshavebeenprintedwithinitialcapital
lettersorinallcapitals.
Theauthorsandpublisherhavetakencareinthepreparationofthis
book,butmakenoexpressedorimpliedwarrantyofanykindand
assumenoresponsibilityforerrorsoromissions.Noliabilityisassumed
forincidentalorconsequentialdamagesinconnectionwithorarisingout
oftheuseoftheinformationorprogramscontainedherein.
Thepublisheroffersexcellentdiscountsonthisbookwhenorderedin
quantityforbulkpurchasesorspecialsales,whichmayincludeelectronic
versionsand/orcustomcoversandcontentparticulartoyourbusiness,
traininggoals,marketingfocus,andbrandinginterests.Formore
information,pleasecontact:
U.S.CorporateandGovernmentSales
(800)382-3419
corpsales@pearsontechgroup.com
ForsalesoutsidetheU.S.,pleasecontact:
InternationalSales
international@pearsoned.com
VisitusontheWeb:informit.com/aw
LibraryofCongressCataloging-in-PublicationData
Lippman,StanleyB.
C++primer/StanleyB.Lippman,JoséeLajoie,BarbaraE.Moo.–5th
ed.
p.cm.
Includesindex.
ISBN0-321-71411-3(pbk.:alk.paper)1.C++(Computerprogram
language)I.Lajoie,Josée.II.
Moo,BarbaraE.III.Title.
QA76.73.C153L576972013
005.13'3–
dc232012020184
Copyright©2013ObjectwriteInc.,JoséeLajoieandBarbaraE.Moo
Allrightsreserved.PrintedintheUnitedStatesofAmerica.This
publicationisprotectedbycopyright,andpermissionmustbeobtained
fromthepublisherpriortoanyprohibitedreproduction,storageina
retrievalsystem,ortransmissioninanyformorbyanymeans,electronic,
mechanical,photocopying,recording,orlikewise.Toobtainpermissionto
usematerialfromthiswork,pleasesubmitawrittenrequesttoPearson
Education,Inc.,PermissionsDepartment,OneLakeStreet,Upper
SaddleRiver,NewJersey07458,oryoumayfaxyourrequestto(201)
236-3290.
ISBN-13:978-0-321-71411-4
ISBN-10:0-321-71411-3
TextprintedintheUnitedStatesonrecycledpaperatCourierin
Westford,Massachusetts.
Firstprinting,August2012
ToBeth,whomakesthis,andallthings,possible.
——
ToDanielandAnna,whocontainvirtuallyallpossibilities.
—SBL
ToMarkandMom,fortheirunconditionalloveandsupport.
—JL
ToAndy,whotaughtmetoprogramandsomuchmore.
—BEM
Contents
Preface
Chapter1GettingStarted
1.1WritingaSimpleC++Program
1.1.1CompilingandExecutingOurProgram
1.2AFirstLookatInput/Output
1.3AWordaboutComments
1.4FlowofControl
1.4.1ThewhileStatement
1.4.2TheforStatement
1.4.3ReadinganUnknownNumberofInputs
1.4.4TheifStatement
1.5IntroducingClasses
1.5.1TheSales_itemClass
1.5.2AFirstLookatMemberFunctions
1.6TheBookstoreProgram
ChapterSummary
DefinedTerms
PartITheBasics
Chapter2VariablesandBasicTypes
2.1PrimitiveBuiltinTypes
2.1.1ArithmeticTypes
2.1.2TypeConversions
2.1.3Literals
2.2Variables
2.2.1VariableDefinitions
2.2.2VariableDeclarationsandDefinitions
2.2.3Identifiers
2.2.4ScopeofaName
2.3CompoundTypes
2.3.1References
2.3.2Pointers
2.3.3UnderstandingCompoundTypeDeclarations
2.4constQualifier
2.4.1Referencestoconst
2.4.2Pointersandconst
2.4.3Top-Levelconst
2.4.4constexprandConstantExpressions
2.5DealingwithTypes
2.5.1TypeAliases
2.5.2TheautoTypeSpecifier
2.5.3ThedecltypeTypeSpecifier
2.6DefiningOurOwnDataStructures
2.6.1DefiningtheSales_dataType
2.6.2UsingtheSales_dataClass
2.6.3WritingOurOwnHeaderFiles
ChapterSummary
DefinedTerms
Chapter3Strings,Vectors,andArrays
3.1NamespaceusingDeclarations
3.2LibrarystringType
3.2.1DefiningandInitializingstrings
3.2.2Operationsonstrings
3.2.3DealingwiththeCharactersinastring
3.3LibraryvectorType
3.3.1DefiningandInitializingvectors
3.3.2AddingElementstoavector
3.3.3OthervectorOperations
3.4IntroducingIterators
3.4.1UsingIterators
3.4.2IteratorArithmetic
3.5Arrays
3.5.1DefiningandInitializingBuiltinArrays
3.5.2AccessingtheElementsofanArray
3.5.3PointersandArrays
3.5.4C-StyleCharacterStrings
3.5.5InterfacingtoOlderCode
3.6MultidimensionalArrays
ChapterSummary
DefinedTerms
Chapter4Expressions
剩余1666页未读,继续阅读
资源评论
ioriwellings
- 粉丝: 0
- 资源: 18
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- XILINXFPGA源码Xilinxspratan3xcs100E(VGAPS2)
- XILINXFPGA源码XilinxSPARTAN-3E入门开发板实例
- XILINXFPGA源码XilinxSdramVerilog和VHDL版本文档
- 物联网智能家居方案-基于Nucleo-STM32L073&机智云(大赛作品,文档齐全,可直接运行)(文档加Matlab源码)
- XILINXFPGA源码XilinxISE9.xFPGACPLD设计源码
- 成都市地图含高新区(高新南区,高新西区),天府新区,东部新区虚拟行政区划
- XILINXFPGA源码XilinxEDK设计试验
- XILINXFPGA源码XilinxEDKMicroBlaze内置USB固件程序
- 基于 django 的视频点播后台管理系统源代码+数据库
- 基于Java的网上医院预约挂号系统的设计与实现(部署视频)-kaic.mp4
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功