资源描述:
《Thinking.In.C .2nd.Edition.Volume1.pdf》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、ThinkinginC++2ndeditionVolume1:IntroductiontoStandardC++FulltextofVolume1&Volume2,updates,sourcecodeandadditionalinformationavailableatwww.BruceEckel.com.Revision7,December02,1999Tobeinformedoffuturereleasesofthisdocumentandotherinformationaboutobject-orientedbooks,do
2、cuments,seminarsandCDs,subscribetomyfreenewsletter.Justsendanyemailto:join-eckel-oo-programming@earth.lyris.netRevisionhistory:TIC2VoneR7:December2,RewroteChapter15&addedexercises.Chapter11hasbeencopy-edited.TIC2VoneR6:November29,1999.RewroteChapter12&addedexercises.R
3、ewroteChapter13&addedexercises.RewroteChapter14&addedexercises.Chapter4,5,6,7,8,9&10havebeencopy-edited.Fixedabuginallthe“stash”examples.Madetheconstructorcallsmoreconsistentthroughout.Correctedfilessothat“maketest”generallyworks(althoughVC++doesn’thandletheintmain()r
4、eturntypeaspertheStandard,soitdoesn’tworkforthat).Changedalltheexamplesfromtheconstchapteronsothattheyhaveconstmemberfunctionsandtakeconst&argumentswherepossible(thatis,implementedconstcorrectness).TIC2VoneR5:November1,1999.Appliednewformattingandfonts,correctedfooter
5、s,fixed‘XX’chapterreferences.Addednewchaptertitle-pagegraphics.Chapters2&3havebeencopy-edited.TIC2VoneR4:September30,1999.Didaspellcheck.Changedmostchar*examplestostringstringstrings.Changedmostexamplesusingclassstringnames“Base”and“Derived”tomoreeasily-visualizableex
6、amples(“Pet”isusedalot)Changedrequire.hrequire.hrequire.hsothatitusesstring&require.hstring&string&string&argumentsinsteadofchar*char*char*(thusitworkswithbothchar*char*char*char*andchar*stringstringarguments).BeganrewritingChapter12.stringTIC2VoneR3:September26,1999.
7、Addedsectionon“Functionaddresses”anddecipheringcomplexdeclarationstotheendofChapter3,alsoaddedappropriateexercises.RewroteChapter11andaddedexercises.TIC2VoneR2:September24,1999.RewroteChapter10andaddedexercises.TIC2VoneR1:September20,1999.Brokethebookintotwovolumes;th
8、isisvolumeone,whichwillbepublishedapproximatelyMarch1,2000tomeettheacademicadoptiondate.Changedtorevisionnumbering,resettore