注冊(cè) | 登錄讀書好,好讀書,讀好書!
讀書網(wǎng)-DuShu.com
當(dāng)前位置: 首頁(yè)出版圖書科學(xué)技術(shù)計(jì)算機(jī)/網(wǎng)絡(luò)軟件與程序設(shè)計(jì)C/C++及其相關(guān)C++Primer(英文版第4版)

C++Primer(英文版第4版)

C++Primer(英文版第4版)

定 價(jià):¥99.00

作 者: (美)李普曼(Lippman.B.)、等
出版社: 人民郵電出版社
叢編項(xiàng): 圖靈原版計(jì)算機(jī)科學(xué)系列
標(biāo) 簽: 高級(jí)編程

ISBN: 9787115151698 出版時(shí)間: 2006-11-01 包裝: 平裝
開本: 16 頁(yè)數(shù): 885 字?jǐn)?shù):  

內(nèi)容簡(jiǎn)介

  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)。本書是久負(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í)踐。本書是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é)方面的真知灼見。對(duì)C++基本概念和技術(shù)全面而且權(quán)威的闡述,對(duì)現(xiàn)代C++編程風(fēng)格的強(qiáng)調(diào),使本書不僅依然是初學(xué)者的最佳C++指南,而且即使對(duì)于中高級(jí)程序員,本書也是不可或缺的參考書。本書新版特色一開始就介紹C++標(biāo)準(zhǔn)庫(kù),使讀者能夠盡快編寫實(shí)用程序,從而始終在實(shí)戰(zhàn)環(huán)境中學(xué)習(xí)。講授現(xiàn)代編程風(fēng)格和程序設(shè)計(jì)技術(shù)。新增了大量教學(xué)輔助內(nèi)容,用于強(qiáng)調(diào)重要的知識(shí)點(diǎn)、常見的錯(cuò)誤、優(yōu)秀的編程實(shí)踐和使用提示。大量來(lái)自實(shí)戰(zhàn)的示例和習(xí)題,可以鞏固所學(xué)技能。書中例程的完整源代碼可從www.turingbook.com網(wǎng)站下載。本書所有作者都是著名的C++權(quán)威人物。Stanley B. Lippman目前是微軟公司 Visual C++ 團(tuán)隊(duì)的架構(gòu)師。他從1984年開始在貝爾實(shí)驗(yàn)室與C++的設(shè)計(jì)者Bjarne Stroustrup一起從事C++的設(shè)計(jì)與開發(fā)。他在迪士尼和夢(mèng)工廠從事動(dòng)畫制作,還擔(dān)任過(guò)JPL的高級(jí)顧問(wèn)。他還著有Inside the C++ Object Model。Josée Lajoie曾經(jīng)是IBM加拿大研究中心C/C++編譯器開發(fā)團(tuán)隊(duì)的成員,在ISO C++標(biāo)準(zhǔn)委員會(huì)工作了7年,擔(dān)任過(guò)ISO核心語(yǔ)言工作組的主席和C++ Report雜志的專欄作家。Barbara E. Moo是擁有25年軟件經(jīng)驗(yàn)的獨(dú)立咨詢顧問(wèn)。在AT&T,她與Stroustrup、Lippman一起管理過(guò)復(fù)雜的C++開發(fā)項(xiàng)目。她和Andrew Koenig合著了Accelerated C++和Ruminations on C++。

作者簡(jiǎn)介

  Stanley B. Lippman,目前是微軟公司 Visual C++ 團(tuán)隊(duì)的架構(gòu)師。他從1984年開始在貝爾實(shí)驗(yàn)室與C++的設(shè)計(jì)者Bjarne Stroustrup一起從事C++的設(shè)計(jì)與開發(fā)。又先后在迪士尼和夢(mèng)工廠從事動(dòng)畫制作,還擔(dān)任過(guò)JPL的高級(jí)顧問(wèn)。他還著有Inside the C++ Object Model。

圖書目錄

Chapter 1 Getting Started
 1.1 Writing a Simple C++Program
  1.1.1 Compiling and Executing Our Program
 1.2 A First Lookat Input/Output
  1.2.1 Standard Input and Output Objects
  1.2.2 A Program that Uses the IO Library
 1.3 A Word About Comments
 1.4 Control Structures
  1.4.1 The while Statement
  1.4.2 The for Statement
  1.4.3 The if Statement
  1.4.4 Reading an Unknown Number of Inputs
 1.5 Introducing Classes
  1.5.1 The Sales_item Class
  1.5.2 A First Looka tMember Functions
 1.6 The C++Program
  Chapter Summary
  Defined Terms

Part I The Basics
Chapter 2 Variables and Basic Types
 2.1 Primitive Built-in Types
  2.1.1 Integral Types
  2.1.2 Floating-Point Types
 2.2 Literal Constants
 2.3 Variables
  2.3.1 What Is a Variable?
  2.3.2 The Name of a Variable
  2.3.3 Defining Objects
  2.3.4 Variable Initialization Rules
  2.3.5 Declarations and Definitions
  2.3.6 Scope of a Name
  2.3.7 Define Variables Where They Are Used
 2.4 const Qualifier
 2.5 References
 2.6 Typedef Names
 2.7 Enumerations
 2.8 Class Types
 2.9 Writing Our Own Header Files
  2.9.1 Designing Our Own Headers
  2.9.2 A Brief Introduction to the Preprocessor
  Chapter Summary
  Defined Terms
Chapter 3 Library Types
 3.1 Namespace using Declarations
 3.2 Library stringType
  3.2.1 Defining and Initializing strings
  3.2.2 Reading and Writing strings
  3.2.3 Operations on strings
  3.2.4 Dealing with the Characters of a string
 3.3 Library vector Type
  3.3.1 Defining and Initializing vectors.
  3.3.2 Operations on vectors
 3.4 Introducing Iterators
  3.4.1 Iterator Arithmetic
 3.5 Library bitset Type
  3.5.1 Defining and Initializing bitsets
  3.5.2 Operations on bitsets
  Chapter Summary
  Defined Terms
Chapter 4 Arrays and Pointers
 4.1 Arrays
  4.1.1 Defining and Initializing Arrays
  4.1.2 Operations on Arrays
 4.2 Introducing Pointers
  4.2.1 What Is aPointer?
  4.2.2 Defining and Initializing Pointers
  4.2.3 Operationson Pointers
  4.2.4 Using Pointers to Access Array Elements
  4.2.5 Pointers and the const Qualifier
 4.3 C-Style Character Strings
  4.3.1 Dynamically Allocating Arrays
  4.3.2 Interfacing to Older Code
 4.4 Multidimensioned Arrays
  4.4.1 Pointers and Multidimensioned Arrays
  Chapter Summary
  Defined Terms
Chapter 5 Expressions
 5.1 Arithmetic Operators
 5.2 Relational and Logical Operators
 5.3 The Bitwise Operators
  5.3.1 Using bitset Objectsor Integral Values
  5.3.2 Using the Shift Operators for IO
 5.4 Assignment Operators
  5.4.1 Assignment Is Right Associative
  5.4.2 Assignment Has Low Precedence
  5.4.3 Compound Assignment Operators
 5.5 Increment and Decrement Operators
 5.6 The Arrow Operator
 5.7 The Conditional Operator
 5.8 The size of Operator
 5.9 Comma Operator
 5.10 Evaluating Compound Expressions
  5.10.1 Precedence
  5.10.2 Associativity
  5.10.3 Order of Evaluation
 5.11 The new and delete Expressions
 5.12 Type Conversions
  5.12.1 When Implicit Type Conversions Occur
  5.12.2 The Arithmetic Conversions
  5.12.3 Other Implicit Conversions
  5.12.4 Explicit Conversions
  5.12.5 When Casts Might Be Useful
  5.12.6 Named Casts
  5.12.7 Old-StyleCasts
  Chapter Summary
  Defined Terms
Chapter 6 Statements
 6.1 Simple Statements
 6.2 Declaration Statements
 6.3 Compound Statements (Blocks)
 6.4 Statement Scope
 6.5 The if Statement
  6.5.1 The if Statement else Branch
 6.6 The switch Statement
  6.6.1 Using a switch
  6.6.2 Control Flow within a switch
  6.6.3 The default Label
  6.6.4 switch Expression and CaseLabels
  6.6.5 Variable Definitions inside a switch
 6.7 The while Statement
 6.8 The forLoop Statement
  6.8.1 Omitting Parts of the for Header
  6.8.2 Multiple Definitions in the for Header
 6.9 The do while Statement
 6.10 The break Statement
 6.11 The continue Statement
 6.12 The goto Statement
 6.13 try Blocks and Exception Handling
  6.13.1 A throw Expression
  6.13.2 The try Block
  6.13.3 Standard Exceptions
 6.14 Using the Preprocessor for Debugging
  Chapter Summary
  Defined Terms
Chapter 7 Functions
Chapter 8 The IO Library

Part II Containers and Algorithms
Chapter 9 Sequential Containers
Chapter 10 Associative Containers
Chapter 11 Generic Algorithms

Part III Classes and Data Abstraction
Chapter 12 Classes
Chapter 13 Copy Control
Chapter 14 Overloaded Operations and Conversions

Part Ⅳ Object-Oriented and Generic Programming
Chapter 15 Object-Oriented Programming
Chapter 16 Templates and Generic Programming

Part Ⅴ Advanced Topics
Chapter 17 Tools for Large Programs
Chapter 18 Specialized Tools and Techniques

AppendixA The Library
Index

本目錄推薦

掃描二維碼
Copyright ? 讀書網(wǎng) m.ranfinancial.com 2005-2020, All Rights Reserved.
鄂ICP備15019699號(hào) 鄂公網(wǎng)安備 42010302001612號(hào)