C++ Fundamentals
暫譯: C++ 基礎知識
Mallia, Antonio, Zoffoli, Francesco
- 出版商: Packt Publishing
- 出版日期: 2019-03-08
- 售價: $1,460
- 貴賓價: 9.5 折 $1,387
- 語言: 英文
- 頁數: 350
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1789801494
- ISBN-13: 9781789801491
-
相關分類:
C++ 程式語言
海外代購書籍(需單獨結帳)
商品描述
Key Features
- Transform your ideas into modern C++ code, with both C++11 and C++17
- Explore best practices for creating high-performance solutions
- Understand C++ basics and work with concrete real-world examples
Book Description
C++ Fundamentals begins by introducing you to the C++ compilation model and syntax. You will then study data types, variable declaration, scope, and control flow statements. With the help of this book, you'll be able to compile fully working C++ code and understand how variables, references, and pointers can be used to manipulate the state of the program. Next, you will explore functions and classes — the features that C++ offers to organize a program — and use them to solve more complex problems. You will also understand common pitfalls and modern best practices, especially the ones that diverge from the C++98 guidelines.
As you advance through the chapters, you'll study the advantages of generic programming and write your own templates to make generic algorithms that work with any type. This C++ book will guide you in fully exploiting standard containers and algorithms, understanding how to pick the appropriate one for each problem.
By the end of this book, you will not only be able to write efficient code but also be equipped to improve the readability, performance, and maintainability of your programs.
What you will learn
- C++ compilation model
- Apply best practices for writing functions and classes
- Write safe, generic, and efficient code with templates
- Explore the containers that the C++ standard offers
- Discover the new features introduced with C++11, C++14, and C++17
- Get to grips with the core language features of C++
- Solve complex problems using object-oriented programming in C++
Who this book is for
If you’re a developer looking to learn a new powerful language or are familiar with C++ but want to update your knowledge with modern paradigms of C++11, C++14, and C++17, this book is for you. To easily understand the concepts in the book, you must be familiar with the basics of programming.
商品描述(中文翻譯)
**主要特點**
- 將您的想法轉換為現代 C++ 代碼,涵蓋 C++11 和 C++17
- 探索創建高效能解決方案的最佳實踐
- 理解 C++ 基礎並使用具體的實際範例
**書籍描述**
《C++ 基礎》首先介紹 C++ 的編譯模型和語法。接著,您將學習數據類型、變數宣告、作用域和控制流語句。在這本書的幫助下,您將能夠編譯出完全可運行的 C++ 代碼,並理解變數、引用和指標如何用來操作程序的狀態。接下來,您將探索函數和類別——C++ 提供的組織程序的特性——並利用它們來解決更複雜的問題。您還將了解常見的陷阱和現代最佳實踐,特別是那些與 C++98 指導方針有所不同的做法。
隨著您逐步深入各章,您將學習泛型編程的優勢,並編寫自己的模板來創建適用於任何類型的泛型算法。這本 C++ 書將指導您充分利用標準容器和算法,理解如何為每個問題選擇合適的解決方案。
在本書結束時,您不僅能夠編寫高效的代碼,還能提升程序的可讀性、性能和可維護性。
**您將學到的內容**
- C++ 編譯模型
- 應用最佳實踐來編寫函數和類別
- 使用模板編寫安全、泛型和高效的代碼
- 探索 C++ 標準提供的容器
- 發現 C++11、C++14 和 C++17 中引入的新特性
- 理解 C++ 的核心語言特性
- 使用 C++ 的面向對象編程解決複雜問題
**本書適合誰**
如果您是一位希望學習新強大語言的開發者,或是對 C++ 有所了解但想用 C++11、C++14 和 C++17 的現代範式更新知識的人,這本書適合您。為了輕鬆理解書中的概念,您必須熟悉編程的基本知識。
目錄大綱
1. Getting Started
2. Functions
3. Classes
4. Generic Programming and Templates
5. Standard Library Containers and Algorithms
6. Object-Oriented Programming
目錄大綱(中文翻譯)
1. Getting Started
2. Functions
3. Classes
4. Generic Programming and Templates
5. Standard Library Containers and Algorithms
6. Object-Oriented Programming