资源描述:
《How Not to Program in C (Steve Oualline)》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、..HowNottoPrograminC++:111BrokenProgramsand3WorkingOnes,orWhyDoes2+2=5986bySteveOuallineISBN:1886411956NoStarchPress©2003(266pages)Basedonreal-worldcodeproblems,approximately100puzzleschallengereaderstofinderrorsinsectionsofcodeupto40lineslong.TableofContentsHowNottoProgr
2、aminC++?111BrokenProgramsand3WorkingOnes,orWhyDoes2+2=5986?IntroductionPartI-ProgramsChapter1-IntheBeginningChapter2-StartingOutontheWrongFootChapter3-OneCharacterWondersChapter4-EverydayProblemsChapter5-CCode,CCodeBreakChapter6-PrematureBreakageChapter7-ClasseswithNoClas
3、sChapter8-ExpertConfusionChapter9-PortagetoHellChapter10-AFewWorkingProgramsChapter11-Threaded,Embedded—DreadedPartII-HintsPartIII-AnswersListofSidebarsBackCoverFindthebugsinthesebrokenprogramsandbecomeabetterprogrammer.Basedonreal-worlderrors,thepuzzlesrangefromeasy(onew
4、rongcharacter)tomindtwisting(errorswithmultiplethreads).Matchyourwitsagainsttheauthor'sandpolishyourlanguageskillsasyoutrytofixbrokenprograms.Clueshelpalongtheway,andanswersareprovidedatthebackofthebook.AbouttheAuthorSteveOuallinehasbeenaprogrammerfor35years.Heistheauthor
5、ofmanybestsellingcomputerbooks,includingPracticalCProgrammingandPracticalC++Programming(O'Reilly).HowNottoPrograminC++-111BrokenProgramsand3WorkingOnes,orWhyDoes2+2=5986?SteveOuallineSanFranciscoCopyright©2003bySteveOualline.Allrightsreserved.Nopartofthisworkmaybereproduc
6、edortransmittedinanyformorbyanymeans,electronicormechanical,includingphotocopying,recording,orbyanyinformationstorageorretrievalsystem,withoutthepriorwrittenpermissionofthecopyrightownerandthepublisher.PrintedintheUnitedStatesofAmericaonrecycledpaper12345678910-06050403No
7、StarchPressandtheNoStarchPresslogoareregisteredtrademarksofNoStarchPress,Inc.Otherproductandcompanynamesmentionedhereinmaybethetrademarksoftheirrespectiveowners.Ratherthanuseatrademarksymbolwitheveryoccurrenceofatrademarkedname,weareusingthenamesonlyinaneditorialfashionan
8、dtothebenefitofthetrademarkowner,withnointentionofinfringementofthetrademark.Publisher:WilliamPo