出版時(shí)間:2006-11 出版社:人民郵電出版社 作者:Stanley B.Lippman,Josée LaJoie,Barbara E.Moo 頁(yè)數(shù):885
Tag標(biāo)簽:無(wú)
內(nèi)容概要
“在遇到無(wú)法解決的問(wèn)題時(shí),我總會(huì)求助于C++ Primer一書(shū)。”——Bruce·Eckel,“編程思想”系列圖書(shū)作者 “眾所周知, C++ Primer是學(xué)習(xí)C++最理想的參考書(shū)之一,適用于各種水平的C++程序員。第4版不但保持了這種傳統(tǒng),而且有了很大改善。”——STEVE?VINOSKI,IONA科技公司首席工程師,CORBA與C++權(quán)威?! ?ldquo;《C++Primer(英文版)(第4版)》真正揭示了C++這一大型、復(fù)雜語(yǔ)言的本質(zhì)。”——JUSTIN?SHAW,Aerospace公司電子程序部技術(shù)處資深成員 “(本書(shū))不但使初學(xué)者迅速入門(mén),而且是用優(yōu)秀的編程實(shí)踐引導(dǎo)他們?nèi)腴T(mén)。”——NEVIN?LIBER,資深工程師(自1988年起一直是C++開(kāi)發(fā)者) C++誕生20年后,因其強(qiáng)大的功能、廣泛的適用性和極高的效率,已經(jīng)成為無(wú)庸置疑的主流編程語(yǔ)言。但是C++語(yǔ)言也不得不面對(duì)這樣的挑戰(zhàn):其博大精深不僅令初學(xué)者望而生畏,而且即使是許多富于經(jīng)驗(yàn)的老手也很難全面掌握,更有不少C++程序員一直背負(fù)著C語(yǔ)言的歷史包袱,常常落入各種微妙難解的安全和性能陷阱。如何使現(xiàn)代C++理念深入人心,使C++更加容易學(xué)習(xí)和使用,已經(jīng)成為眾所矚目的焦點(diǎn)?! 禖++Primer(英文版)(第4版)》是久負(fù)盛名的C++經(jīng)典教程,已經(jīng)幫助全球無(wú)數(shù)程序員學(xué)會(huì)了C++。這一全新版本進(jìn)行了徹底的修訂,章節(jié)內(nèi)容和編排都經(jīng)過(guò)了重新組織,既顯著改善了可讀性,又充分體現(xiàn)了C++語(yǔ)言的最新進(jìn)展和當(dāng)前的業(yè)界最佳實(shí)踐?!禖++Primer》(英文版)(第4版)(圖靈原版計(jì)算機(jī)科學(xué)系列)是C++大師Stan?B?Lippman豐富的實(shí)踐經(jīng)驗(yàn)和C++標(biāo)準(zhǔn)委員會(huì)原負(fù)責(zé)人Josée·Lajoie對(duì)C++標(biāo)準(zhǔn)深入理解的完美結(jié)合。新版更加入了C++先驅(qū)Barbara?E?Moo在C++教學(xué)方面的真知灼見(jiàn)。對(duì)C++基本概念和技術(shù)全面而且權(quán)威的闡述,對(duì)現(xiàn)代C++編程風(fēng)格的強(qiáng)調(diào),使本書(shū)不僅依然是初學(xué)者的最佳C++指南,而且即使對(duì)于中高級(jí)程序員,本書(shū)也是不可或缺的參考書(shū)。
作者簡(jiǎn)介
Stanley B. Lippman,目前是微軟公司 Visual C++ 團(tuán)隊(duì)的架構(gòu)師。他從1984年開(kāi)始在貝爾實(shí)驗(yàn)室與C++的設(shè)計(jì)者Bjarne Stroustrup一起從事C++的設(shè)計(jì)與開(kāi)發(fā)。又先后在迪士尼和夢(mèng)工廠從事動(dòng)畫(huà)制作,還擔(dān)任過(guò)JPL的高級(jí)顧問(wèn)。他還著有Inside the C++ Object Model。
書(shū)籍目錄
Chapter 1 Getting Started1.1 Writing a Simple C++Program1.1.1 Compiling and Executing Our Program1.2 A First Lookat Input/Output1.2.1 Standard Input and Output Objects1.2.2 A Program that Uses the IO Library1.3 A Word About Comments1.4 Control Structures1.4.1 The while Statement1.4.2 The for Statement1.4.3 The if Statement1.4.4 Reading an Unknown Number of Inputs1.5 Introducing Classes1.5.1 The Sales_item Class1.5.2 A First Looka tMember Functions1.6 The C++ProgramChapter SummaryDefined TermsPart I The BasicsChapter 2 Variables and Basic Types2.1 Primitive Built-in Types2.1.1 Integral Types2.1.2 Floating-Point Types2.2 Literal Constants2.3 Variables2.3.1 What Is a Variable?2.3.2 The Name of a Variable2.3.3 Defining Objects2.3.4 Variable Initialization Rules2.3.5 Declarations and Definitions2.3.6 Scope of a Name2.3.7 Define Variables Where They Are Used2.4 const Qualifier2.5 References2.6 Typedef Names2.7 Enumerations2.8 Class Types2.9 Writing Our Own Header Files2.9.1 Designing Our Own Headers2.9.2 A Brief Introduction to the PreprocessorChapter SummaryDefined TermsChapter 3 Library Types3.1 Namespace using Declarations3.2 Library stringType3.2.1 Defining and Initializing strings3.2.2 Reading and Writing strings3.2.3 Operations on strings3.2.4 Dealing with the Characters of a string3.3 Library vector Type3.3.1 Defining and Initializing vectors.3.3.2 Operations on vectors3.4 Introducing Iterators3.4.1 Iterator Arithmetic3.5 Library bitset Type3.5.1 Defining and Initializing bitsets3.5.2 Operations on bitsetsChapter SummaryDefined TermsChapter 4 Arrays and Pointers4.1 Arrays4.1.1 Defining and Initializing Arrays4.1.2 Operations on Arrays4.2 Introducing Pointers4.2.1 What Is aPointer?4.2.2 Defining and Initializing Pointers4.2.3 Operationson Pointers4.2.4 Using Pointers to Access Array Elements4.2.5 Pointers and the const Qualifier4.3 C-Style Character Strings4.3.1 Dynamically Allocating Arrays4.3.2 Interfacing to Older Code4.4 Multidimensioned Arrays4.4.1 Pointers and Multidimensioned ArraysChapter SummaryDefined TermsChapter 5 Expressions5.1 Arithmetic Operators5.2 Relational and Logical Operators5.3 The Bitwise Operators5.3.1 Using bitset Objectsor Integral Values5.3.2 Using the Shift Operators for IO5.4 Assignment Operators5.4.1 Assignment Is Right Associative5.4.2 Assignment Has Low Precedence5.4.3 Compound Assignment Operators5.5 Increment and Decrement Operators5.6 The Arrow Operator5.7 The Conditional Operator5.8 The size of Operator5.9 Comma Operator5.10 Evaluating Compound Expressions5.10.1 Precedence5.10.2 Associativity5.10.3 Order of Evaluation5.11 The new and delete Expressions5.12 Type Conversions5.12.1 When Implicit Type Conversions Occur5.12.2 The Arithmetic Conversions5.12.3 Other Implicit Conversions5.12.4 Explicit Conversions5.12.5 When Casts Might Be Useful5.12.6 Named Casts5.12.7 Old-StyleCastsChapter SummaryDefined TermsChapter 6 Statements6.1 Simple Statements6.2 Declaration Statements6.3 Compound Statements (Blocks)6.4 Statement Scope6.5 The if Statement6.5.1 The if Statement else Branch6.6 The switch Statement6.6.1 Using a switch6.6.2 Control Flow within a switch6.6.3 The default Label6.6.4 switch Expression and CaseLabels6.6.5 Variable Definitions inside a switch6.7 The while Statement6.8 The forLoop Statement6.8.1 Omitting Parts of the for Header6.8.2 Multiple Definitions in the for Header6.9 The do while Statement6.10 The break Statement6.11 The continue Statement6.12 The goto Statement6.13 try Blocks and Exception Handling6.13.1 A throw Expression6.13.2 The try Block6.13.3 Standard Exceptions6.14 Using the Preprocessor for DebuggingChapter SummaryDefined TermsChapter 7 FunctionsChapter 8 The IO LibraryPart II Containers and AlgorithmsChapter 9 Sequential ContainersChapter 10 Associative ContainersChapter 11 Generic AlgorithmsPart III Classes and Data AbstractionChapter 12 ClassesChapter 13 Copy ControlChapter 14 Overloaded Operations and ConversionsPart Ⅳ Object-Oriented and Generic ProgrammingChapter 15 Object-Oriented ProgrammingChapter 16 Templates and Generic ProgrammingPart Ⅴ Advanced TopicsChapter 17 Tools for Large ProgramsChapter 18 Specialized Tools and TechniquesAppendixA The LibraryIndex
圖書(shū)封面
圖書(shū)標(biāo)簽Tags
無(wú)
評(píng)論、評(píng)分、閱讀與下載
250萬(wàn)本中文圖書(shū)簡(jiǎn)介、評(píng)論、評(píng)分,PDF格式免費(fèi)下載。 第一圖書(shū)網(wǎng) 手機(jī)版