欢迎来到天天文库
浏览记录
ID:34853408
大小:2.53 MB
页数:404页
时间:2019-03-12
《Accelerated C [EN].pdf》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、ABCAmberCHMConverterTrialversion,http://www.processtext.com/abcchm.htmlAcceleratedC++PracticalProgrammingbyExamplebyAndrewKoenigandBarbaraE.MooAddison-Wesley,2000ISBN0-201-70353-XPages336SecondPrintingTableofContentsPage1ABCAmberCHMConverterTrialversion,h
2、ttp://www.processtext.com/abcchm.htmlContentsChapter0Gettingstarted0.1Comments0.2#include0.3Themainfunction0.4Curlybraces0.5Usingthestandardlibraryforoutput0.6Thereturnstatement0.7Aslightlydeeperlook0.8DetailsChapter1Workingwithstrings1.1Input1.2Framingan
3、ame1.3DetailsChapter2Loopingandcounting2.1Theproblem2.2Overallstructure2.3Writinganunknownnumberofrows2.4Writingarow2.5Thecompleteframingprogram2.6Counting2.7DetailsChapter3Workingwithbatchesofdata3.1Computingstudentgrades3.2Usingmediansinsteadofaverages3
4、.3DetailsChapter4Organizingprogramsanddata4.1Organizingcomputations4.2Organizingdata4.3Puttingitalltogether4.4Partitioningthegradingprogram4.5Therevisedgradingprogram4.6DetailsChapter5Usingsequentialcontainersandanalyzingstrings5.1Separatingstudentsintoca
5、tegories5.2Iterators5.3Usingiteratorsinsteadofindices5.4Rethinkingourdatastructureforbetterperformance5.5Thelisttype5.6Takingstringsapart5.7Testingoursplitfunction5.8Puttingstringstogether5.9DetailsChapter6Usinglibraryalgorithms6.1Analyzingstrings6.2Compa
6、ringgradingschemes6.3Classifyingstudents,revisited6.4Algorithms,containers,anditerators6.5DetailsChapter7Usingassociativecontainers7.1Containersthatsupportefficientlook-up7.2Countingwords7.3Generatingacross-referencetable7.4Generatingsentences7.5Anoteonpe
7、rformancePage2ABCAmberCHMConverterTrialversion,http://www.processtext.com/abcchm.html7.6DetailsChapter8Writinggenericfunctions8.1Whatisagenericfunction?8.2Data-structureindependence8.3Inputandoutputiterators8.4Usingiteratorsforflexibility8.5DetailsChapter
8、9Definingnewtypes9.1Student_inforevisited9.2Classtypes9.3Protection9.4TheStudent_infoclass9.5Constructors9.6UsingtheStudent_infoclass9.7DetailsChapter10Managingmemoryandlow-leveldatastructures10.1Pointersandarrays10
此文档下载收益归作者所有