资源描述:
《The Design and Evolution of C 原版.pdf》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、TheDesignandEvolutionofC++BjarneStroustrupAT&TBellLaboratoriesMurrayHill,NewJerseyADDISON-WESLEYPUBLISHINGCOMPANYReading,Massachusetts•MenloPark,California•NewYorkDonMills,Ontario•Wokingham,England•Amsterdam•Bonn•SydneySingapore•Tokyo•Madrid•SanJuan•Milan•ParisLibraryofCon
2、gressCataloging-in-PublicationDataStroustrup,Bjarne.TheDesignandEvolutionofC++/BjarneStroustrup.p.cm.Includesbibliographicalreferencesandindex.ISBN0-201-54330-31.C++(Computerprogramlanguage)I.Title.II.Title:DesignandEvolutionofCplusplus.QA76.73.C153S791994005.13'3—dc2093-5
3、0758CIPAT&TCopyright©1994byAT&TBellLabs.Allrightsreserved.Nopartofthispublicationmaybereproduced,storedinaretrievalsystem,ortransmitted,inanyformorbyanymeans,electronic,mechanical,photocopying,recording,orotherwise,withoutthepriorwrittenpermissionofthepublisher.Printedinth
4、eUnitedStatesofAmerica.ThisbookwastypesetinTimesRomanandCourierbytheauthor.12345678910-MA-969594PrefaceHewhodoesnotplow,mustwrite.-MartinA.HansenTheACMHOPL-2conferenceontheHistoryofProgrammingLanguagesaskedmetowriteapaperonthehistoryofC++.Thisseemedareasonableideaandabitof
5、anhonor,soIstartedwriting.TogetamorecomprehensiveandbalancedviewofC++'sgrowth,IaskedafewfriendsfromtheearlydaysofC++fortheirrecollections.Thatcausednewsofthisprojecttotravelthroughthegrapevine.There,thestorymutated,andonedayIreceivedamessagefromafriendaskingwherehecouldbuy
6、mynewbookonthedesignofC++.Thatemailmessageistherealoriginofthisbook.Traditionalbooksaboutprogrammingandprogramminglanguagesexplainwhatalanguageisandhowtouseit.However,manypeoplearealsocuriousaboutwhyalanguageisthewayitisandhowitcametobethatway.Thisbookanswerstheselasttwoqu
7、estionsforC++.ItexplainshowC++evolvedfromitsfirstdesigntothelan-guageinusetoday.Itdescribesthekeyproblems,designaims,languageideas,andconstraintsthatshapedC++,andhowtheychangedovertime.Naturally,C++andtheideasaboutdesignandprogrammingthatshapeditdidn'tjustmutatebythemselve
8、s.WhatreallyevolvedwastheC++users'understandingoftheirpracticalproblemsandofthetoolsneede