Sams Teach Yourself C++ in One Hour a Day, 8/e (Paperback)
暫譯: Sams 一天學會 C++(第八版)

Siddhartha Rao

買這商品的人也買了...

商品描述

In just one hour a day, you’ll have all the skills you need to begin programming in C++. With this complete tutorial, you’ll quickly master the basics, and then move on to more advanced features and concepts. Completely updated for the C++14 standard, with a preview of C++17, this book presents the language from a practical point of view, helping you learn how to use C++ to create faster, simpler, and more efficient C++ applications.

 

  • Master the fundamentals of C++ and object-oriented programming
  • Understand how C++ features help you write compact and efficient code using concepts such as lambda expressions, move constructors, and assignment operators
  • Learn best practices and avoid pitfalls via useful Do’s and Don’ts 
  • Learn the Standard Template Library, including containers and algorithms used in most real-world C++ applications
  • Test your knowledge and expertise with exercises at the end of every lesson 

 

Learn on your own time, at your own pace:

 

  • No previous programming experience required
  • Write fast and powerful C++ programs, compile the source code, and create executable files
  • Learn object-oriented programming concepts such as encapsulation, abstraction, inheritance, and polymorphism
  • Use the Standard Template Library’s algorithms and containers to write feature-rich yet stable C++ applications
  • Learn how automatic type deduction helps simplify C++ code
  • Develop sophisticated programming techniques using lambda expressions, smart pointers, and move constructors
  • Master the features of C++ by learning from programming experts
  • Learn C++ features that allow you to program compact and high-performance C++ applications
  • Preview what’s new in C++17

 

Contents at a Glance

 

 

Part I: The Basics

 

Lesson 1: Getting Started

Lesson 2: The Anatomy of a C++ Program

Lesson 3: Using Variables, Declaring Constants

Lesson 4: Managing Arrays and Strings

Lesson 5: Working with Expressions, Statements, and Operators

Lesson 6: Controlling Program Flow

Lesson 7: Organizing Code with Functions

Lesson 8: Pointers and References Explained

 

 

Part II: Fundamentals of Object-Oriented C++ Programming

 

Lesson 9: Classes and Objects

Lesson 10: Implementing Inheritance

Lesson 11: Polymorphism

Lesson 12: Operator Types and Operator Overloading

Lesson 13: Casting Operators

Lesson 14: An Introduction to Macros and Templates

 

 

Part III: Learning the Standard Template Library (STL)

 

Lesson 15: An Introduction to the Standard Template Library

Lesson 16: The STL String Class

Lesson 17: STL Dynamic Array Classes

Lesson 18: STL list and forward_list

Lesson 19: STL Set Classes 

Lesson 20: STL Map Classes

 

 

Part IV: More STL

 

Lesson 21: Understanding Function Objects

Lesson 22: Lambda Expressions 

Lesson 23: STL Algorithms

Lesson 24: Adaptive Containers: Stack and Queue

Lesson 25: Working with Bit Flags Using STL

 

 

Part V: Advanced C++ Concepts

 

Lesson 26: Understanding Smart Pointers

Lesson 27: Using Streams for Input and Output 

Lesson 28: Exception Handling

Lesson 29: Going Forward

 

Part VI: Appendixes

Appendix A: Working with Numbers: Binary and Hexadecimal

Appendix B: C++ Keywords

Appendix C: Operator Precedence

Appendix D: ASCII Codes

Appendix E: Answers

商品描述(中文翻譯)

在每天僅需一小時的時間內,您將掌握開始使用 C++ 編程所需的所有技能。透過這本完整的教程,您將迅速掌握基礎知識,然後進一步學習更高級的功能和概念。本書完全更新至 C++14 標準,並預覽 C++17,從實用的角度介紹這門語言,幫助您學會如何使用 C++ 創建更快、更簡單且更高效的 C++ 應用程式。

- 掌握 C++ 和物件導向編程的基本原理
- 理解 C++ 特性如何幫助您使用如 lambda 表達式、移動建構子和賦值運算子等概念編寫簡潔高效的代碼
- 通過有用的注意事項和禁忌學習最佳實踐並避免陷阱
- 學習標準模板庫,包括在大多數實際 C++ 應用程式中使用的容器和算法
- 通過每課結尾的練習測試您的知識和專業技能

隨時隨地以自己的步調學習:

- 不需要先前的編程經驗
- 編寫快速且強大的 C++ 程式,編譯源代碼並創建可執行文件
- 學習物件導向編程概念,如封裝、抽象、繼承和多型
- 使用標準模板庫的算法和容器編寫功能豐富但穩定的 C++ 應用程式
- 學習自動類型推斷如何簡化 C++ 代碼
- 使用 lambda 表達式、智能指標和移動建構子開發複雜的編程技術
- 通過向編程專家學習掌握 C++ 的特性
- 學習 C++ 特性,使您能夠編寫簡潔且高效能的 C++ 應用程式
- 預覽 C++17 的新特性

目錄一覽

第一部分:基礎知識

課程 1:入門

課程 2:C++ 程式的結構

課程 3:使用變數,聲明常數

課程 4:管理陣列和字串

課程 5:處理表達式、語句和運算子

課程 6:控制程式流程

課程 7:使用函數組織代碼

課程 8:指標和引用的解釋

第二部分:物件導向 C++ 編程的基本原理

課程 9:類和物件

課程 10:實現繼承

課程 11:多型

課程 12:運算子類型和運算子重載

課程 13:類型轉換運算子

課程 14:宏和模板簡介

第三部分:學習標準模板庫 (STL)

課程 15:標準模板庫簡介

課程 16:STL 字串類

課程 17:STL 動態陣列類

課程 18:STL list 和 forward_list

課程 19:STL 集合類

課程 20:STL 映射類

第四部分:更多 STL

課程 21:理解函數物件

課程 22:Lambda 表達式

課程 23:STL 算法

課程 24:自適應容器:堆疊和佇列

課程 25:使用 STL 處理位元標誌

第五部分:進階 C++ 概念

課程 26:理解智能指標

課程 27:使用流進行輸入和輸出

課程 28:例外處理

課程 29:展望未來

第六部分:附錄

附錄 A:數字處理:二進位和十六進位

附錄 B:C++ 關鍵字

附錄 C:運算子優先順序

附錄 D:ASCII 碼

附錄 E:答案

最後瀏覽商品 (18)