| | | C++大學教程(第9版)(英文版) | 該商品所屬分類:圖書 -> | 【市場價】 | 1259-1824元 | 【優惠價】 | 787-1140元 | 【作者】 | 保羅·戴特爾 | 【出版社】 | 電子工業出版社 | 【ISBN】 | 9787121295423 | 【折扣說明】 | 一次購物滿999元台幣免運費+贈品 一次購物滿2000元台幣95折+免運費+贈品 一次購物滿3000元台幣92折+免運費+贈品 一次購物滿4000元台幣88折+免運費+贈品
| 【本期贈品】 | ①優質無紡布環保袋,做工棒!②品牌簽字筆 ③品牌手帕紙巾
| |
版本 | 正版全新電子版PDF檔 | 您已选择: | 正版全新 | 溫馨提示:如果有多種選項,請先選擇再點擊加入購物車。*. 電子圖書價格是0.69折,例如了得網價格是100元,電子書pdf的價格則是69元。 *. 購買電子書不支持貨到付款,購買時選擇atm或者超商、PayPal付款。付款後1-24小時內通過郵件傳輸給您。 *. 如果收到的電子書不滿意,可以聯絡我們退款。謝謝。 | | | | 內容介紹 | |
![](/c49/31/44946281923.jpg)
出版社:電子工業出版社 ISBN:9787121295423 商品編碼:44946281923 品牌:文軒 出版時間:2019-03-01 代碼:159 作者:保羅·戴特爾
" 作 者:(美)保羅·戴特爾(Paul Deitel),(美)哈維·戴特爾(HarveyDeitel) 著 定 價:159 出 版 社:電子工業出版社 出版日期:2019年03月01日 頁 數:831 裝 幀:平裝 ISBN:9787121295423 ●Chapter 1 Introduction to Computers and C++1 1.1 Introduction2 1.2 Computers and the Internet in Industry and Research2 1.3 Hardware and Software4 1.4 Data Hierarchy6 1.5 Machine Languages, Assembly Languages and High-Level Languages7 1.6 C++8 1.7 Programming Languages9 1.8 Introduction to Object Technology10 1.9 Typical C++ Development Environment13 1.10 Test-Driving a C++ Application15 1.11 Operating Systems20 1.12 The Internet and World Wide Web22 1.13 Some Key Software Development Terminology23 1.14 C++11 and the Open Source Boost Libraries25 1.15 Keeping Up to Date with Information Technologies25 1.16 Web Resources26 Chapter 2 Introduction to C++ Programming; Input/Output and Operators31 2.1 Introduction31 2.2 First Program in C++: Printing a Line of Text32 2.3 Modifying Our First C++ Program35 2.4 Another C++ Program: Adding Integers36 2.5 Memory Concepts39 2.6 Arithmetic40 2.7 Decision Making: Equality and Relational Operators43 2.8 Wrap-Up47 Chapter 3 Introduction to Classes, Objects and Strings55 3.1 Introduction55 3.2 Defining a Class with a Member Function56 3.3 Defining a Member Function with a Parameter58 3.4 Data Members, set Member Functions and get Member Functions61 3.5 Initializing Objects with Constructors66 3.6 Placing a Class in a Separate File for Reusability69 3.7 Separating Interface from Implementation72 3.8 Validating Data with set Functions76 3.9 Wrap-Up80 Chapter 4 Control Statements: Part 1; Assignment, ++ and - - Operators87 4.1 Introduction87 4.2 Algorithms88 4.3 Pseudocode88 4.4 Control Structures89 4.5 if Selection Statement92 4.6 if…else Double-Selection Statement93 4.7 while Repetition Statement97 4.8 Formulating Algorithms: Counter-Controlled Repetition98 4.9 Formulating Algorithms: Sentinel-Controlled Repetition103 4.10 Formulating Algorithms: Nested Control Statements111 4.11 Assignment Operators116 4.12 Increment and Decrement Operators116 4.13 Wrap-Up118 Chapter 5 Control Statements: Part 2; Logical Operators131 5.1 Introduction131 5.2 Essentials of Counter-Controlled Repetition132 5.3 for Repetition Statement133 5.4 Examples Using the for Statement136 5.5 do…while Repetition Statement140 5.6 switch ltiple-Selection Statement141 5.7 break and continue Statements148 5.8 Logical Operators150 5.9 Confusing the Equality (==) and Assignment (=) Operators153 5.10 Structured Programming Summary154 5.11 Wrap-Up158 Chapter 6 Functions and an Introduction to Recursion167 6.1 Introduction168 6.2 Program Components in C++168 6.3 Math Library Functions169 6.4 Function Definitions with ltiple Parameters170 6.5 Function Prototypes and Argument Coercion174 6.6 C++ Standard Library Headers176 6.7 Case Study: Random Number Generation177 6.8 Case Study: Game of Chance; Introducing enum182 6.9 C++11 Random Numbers185 6.10 Storage Classes and Storage Duration186 6.11 Scope Rules189 6.12 Function Call Stack and Activation Records191 6.13 Functions with Empty Parameter Lists194 6.14 Inline Functions195 6.15 References and Reference Parameters196 6.16 Default Arguments198 6.17 Unary Scope Resolution Operator200 6.18 Function Overloading200 6.19 Function Templates203 6.20 Recursion205 6.21 Example Using Recursion: Fibonacci Series208 6.22 Recursion vs. Iteration210 6.23 Wrap-Up213 Chapter 7 Class Templates array and vector; Catching Exceptions232 7.1 Introduction233 7.2 arrays233 7.3 Declaring arrays234 7.4 Examples Using arrays235 7.5 Range-Based for Statement244 7.6 Case Study: Class GradeBook Using an array to Store Grades246 7.7 Sorting and Searching arrays251 7.8 ltidimensional arrays252 7.9 Case Study: Class GradeBook Using a Two-Dimensional array255 7.10 Introduction to C++ Standard Library Class Template vector260 7.11 Wrap-Up264 Chapter 8 Pointers279 8.1 Introduction280 8.2 Pointer Variable Declarations and Initialization280 8.3 Pointer Operators281 8.4 Pass-by-Reference with Pointers283 8.5 Built-In Arrays287 8.6 Using const with Pointers289 8.7 sizeof Operator292 8.8 Pointer Expressions and Pointer Arithmetic294 8.9 Relationship Between Pointers and Built-In Arrays296 8.10 Pointer-Based Strings299 8.11 Wrap-Up301 Chapter 9 Classes: A Deeper Look; Throwing Exceptions316 9.1 Introduction317 9.2 Time Class Case Study317 9.3 Class Scope and Accessing Class Members323 9.4 Access Functions and Utility Functions324 9.5 Time Class Case Study: Constructors with Default Arguments324 9.6 Destructors328 9.7 When Constructors and Destructors Are Called329 9.8 Time Class Case Study: A Subtle Trap― Returning a Reference or a Pointer to a private Data Member331 9.9 Default Memberwise Assignment334 9.10 const Objects and const Member Functions335 9.11 Composition: Objects as Members of Classes337 9.12 friend Functions and friend Classes341 9.13 Using the this Pointer343 9.14 static Class Members347 9.15 Wrap-Up351 Chapter 10 Operator Overloading; Class string361 10.1 Introduction362 10.2 Using the Overloaded Operators of Standard Library Class string362 10.3 Fundamentals of Operator Overloading365 10.4 Overloading Binary Operators366 10.5 Overloading the Binary Stream Insertion and Stream Extraction Operators367 10.6 Overloading Unary Operators370 10.7 Overloading the Unary Prefix and tfix ++ and -- Operators370 10.8 Case Study: A Date Class371 10.9 Dynamic Memory Management375 10.10 Case Study: Array Class377 10.11 Operators as Member vs. Non-Member Functions387 10.12 Converting Between Types388 10.13 explicit Constructors and Conversion Operators389 10.14 Overloading the Function Call Operator ()391 10.15 Wrap-Up392 Chapter 11 Object-Oriented Programming: Inheritance402 11.1 Introduction402 11.2 Base Classes and Derived Classes403 11.3 Relationship between Base and Derived Classes405 11.4 Constructors and Destructors in Derived Classes422 11.5 public, protected and private Inheritance424 11.6 Software Engineering with Inheritance425 11.7 Wrap-Up425 Chapter 12 Object-Oriented Programming: Polymorphism431 12.1 Introduction432 12.2 Introduction to Polymorphism: Polymorphic Video Game432 12.3 Relationships Among Objects in an Inheritance Hierarchy433 12.4 Type Fields and switch Statements443 12.5 Abstract Classes and Pure virtual Functions444 12.6 Case Study: Payroll System Using Polymorphism445 12.7 (Optional) Polymorphism, Virtual Functions and Dynamic Binding “Under the Hood”456 12.8 Case Study: Payroll System Using Polymorphism and Runtime Type Information with Downcasting, dynamic_cast, typeid and type_info459 12.9 Wrap-Up462 Chapter 13 Stream Input/Output: A Deeper Look468 13.1 Introduction469 13.2 Streams469 13.3 Stream Output472 13.4 Stream Input473 13.5 Unformatted I/O Using read, write and gcount476 13.6 Introduction to Stream Manipulators477 13.7 Stream Format States and Stream Manipulators481 13.8 Stream Error States488 13.9 Tying an Output Stream to an Input Stream490 13.10 Wrap-Up490 Chapter 14 File Processing499 14.1 Introduction499 14.2 Files and Streams500 14.3 Creating a Sequential File500 14.4 Reading Data from a Sequential File504 14.5 Updating Sequential Files508 14.6 Random-Access Files508 14.7 Creating a Random-Access File509 14.8 Writing Data Randomly to a Random-Access File513 14.9 Reading from a Random-Access File Sequentially514 14.10 Case Study: A Transaction-Processing Program516 14.11 Object Serialization521 14.12 Wrap-Up521 Chapter 15 Standard Library Containers and Iterators530 15.1 Introduction531 15.2 Introduction to Containers532 15.3 Introduction to Iterators535 15.4 Introduction to Algorithms538 15.5 Sequence Containers539 15.6 Associative Containers550 15.7 Container Adapters557 15.8 Class bitset561 15.9 Wrap-Up562 Chapter 16 Standard Library Algorithms573 16.1 Introduction573 16.2 Minimum Iterator Requirements574 16.3 Algorithms575 16.4 Function Objects600 16.5 Lambda Expressions603 16.6 Standard Library Algorithm Summary604 16.7 Wrap-Up605 Chapter 17 Exception Handling: A Deeper Look613 17.1 Introduction613 17.2 Example: Handling an Attempt to Divide by Zero614 17.3 Rethrowing an Exception618 17.4 Stack Unwinding620 17.5 When to Use Exception Handling621 17.6 Constructors, Destructors and Exception Handling622 17.7 Exceptions and Inheritance622 17.8 Processing new Failures623 17.9 Class unique_ptr and Dynamic Memory Allocation625 17.10 Standard Library Exception Hierarchy627 17.11 Wrap-Up628 Chapter 18 Introduction to Custom Templates634 18.1 Introduction634 18.2 Class Templates635 18.3 Function Template to Manipulate a Class-Template Specialization Object638 18.4 Nontype Parameters640 18.5 Default Arguments for Template Type Parameters640 18.6 Overloading Function Templates640 18.7 Wrap-Up641 Chapter 19 Custom Templatized Data Structures644 19.1 Introduction644 19.2 Self-Referential Classes645 19.3 Linked Lists646 19.4 Stacks657 19.5 Queues660 19.6 Trees663 19.7 Wrap-Up669 Chapter 20 Searching and Sorting680 20.1 Introduction680 20.2 Searching Algorithms681 20.3 Sorting Algorithms687 20.4 Wrap-Up696 Chapter 21 Class string and String Stream Processing: A Deeper Look702 21.1 Introduction703 21.2 string Assignment and Concatenation704 21.3 Comparing strings705 21.4 Substrings707 21.5 Swapping strings708 21.6 string Characteristics708 21.7 Finding Substrings and Characters in a string710 21.8 Replacing Characters in a string711 21.9 Inserting Characters into a string713 21.10 Conversion to Pointer-Based char * Strings713 21.11 Iterators715 21.12 String Stream Processing715 21.13 C++11 Numeric Conversion Functions718 21.14 Wrap-Up719 Chapter 22 Bits, Characters, C Strings and structs726 22.1 Introduction727 22.2 Structure Definitions727 22.3 typedef728 22.4 Example: Card Shuffling and Dealing Simulation728 22.5 Bitwise Operators730 22.6 Bit Fields737 22.7 Character-Handling Library740 22.8 C String-Manipulation Functions744 22.9 C String-Conversion Functions749 22.10 Search Functions of the C String-Handling Library753 22.11 Memory Functions of the C String-Handling Library756 22.12 Wrap-Up759 Chapter 23 Other Topics773 23.1 Introduction773 23.2 const_cast Operator774 23.3 mutable Class Members775 23.4 namespaces776 23.5 Operator Keywords779 23.6 Pointers to Class Members (.* and ->*)781 23.7 ltiple Inheritance782 23.8 ltiple Inheritance and virtual Base Classes786 23.9 Wrap-Up789 Appendix A Operator Precedence and Associativity794 Appendix B ASCII Character Set796 Appendix C Fundamental Types797 Appendix D Number Systems799 Appendix E Preprocessor809 Index819 本書是一本C++編程方面的優秀教材,全面介紹了面向對像編程的原理與方法,詳細分析了與C++編程有關的技術。本書的主要內容包括類與對像、控制語句、函數與遞歸、數組、指針、運算符重載、繼承、多態、輸入/輸出流、異常處理、文件處理、模板、搜索與排序等。全書以“活代碼”的方式詳細分析了每個知識要點,提供了豐富的自測練習和項目練習,是初學者和中高級程序員學習C++編程的理想用書。 ![](https://img10.360buyimg.com/imgzone/jfs/t1/147514/7/5440/73116/5f34a3beE3ba58783/f5b2391383f5625c.jpg)
" | | | | | |