Boost C++ Application Development Cookbook
暫譯: Boost C++ 應用程式開發食譜
Antony Polukhin
- 出版商: Packt Publishing
- 出版日期: 2013-07-13
- 售價: $2,050
- 貴賓價: 9.5 折 $1,948
- 語言: 英文
- 頁數: 348
- 裝訂: Paperback
- ISBN: 1849514887
- ISBN-13: 9781849514880
-
相關分類:
C++ 程式語言
已過版
商品描述
With Boost libraries you can really unleash the power of C++. Learn to build applications faster and better through a cookbook approach that uses tons of recipes to make it all so easy to assimilate and apply.
Overview
- Explores how to write a program once and then use it on Linux, Windows, MacOS, and Android operating systems
- Includes everyday use recipes for multithreading, networking, metaprogramming, and generic programming from a Boost library developer
- Take advantage of the real power of Boost and C++, to get a good grounding in using it in any project
In Detail
Boost libraries are developed by professionals, tested on multiple platforms and processor architectures, and contain reliable solutions for a wide range of tasks. This Cookbook takes you on a journey of simplifying the process of application development and guides you through writing perfect applications fast.
"Boost C++ Application Development Cookbook" provides you with a number of clear step-by-step recipes that will help you take advantage of the real power of Boost and C++, while giving you a good grounding in using it in any project.
"Boost C++ Application Development Cookbook" looks at the Boost libraries, and breaks down the mystery and confusion about which library to use in which situation. It will take you through a number of clear, practical recipes that will help you to take advantage of the readily available solutions.
Boost C++ Application Development Cookbook starts with teaching the basics of Boost libraries that are now mostly part of C++11 and leave no chance for memory leaks. Managing resources will become a piece of cake. We’ll see what kind of work can be done at compile time and what Boost containers can do. Do you think multithreading is a burden? Not with Boost. Think writing portable and fast servers is impossible? You’ll be surprised! Compilers and operating systems differ too much? Not with Boost. From manipulating images to graphs, directories, timers, files, strings – everyone will find an interesting topic.
You will learn everything for the development of high quality fast and portable applications. Write a program once and then you can use it on Linux, Windows, MacOS, Android operating systems.
What you will learn from this book
- Get familiar with new data types for everyday use
- Use pointers to manage resources
- Get to grips with compile-time computations and assertions
- Use Boost libraries for multithreading
- Learn about Parallel execution of different task
- Perform common string-related tasks using Boost libraries
- Split all the processes, computations, and interactions to tasks and process them independently
- Learn the basics of working with graphs
- Explore different helper macros used to detect compiler, platform and Boost features
- Use selected C++11 features in C++03
Approach
This book follows a cookbook approach, with detailed and practical recipes that use Boost libraries.
Who this book is written for
This book is great for developers new to Boost, and who are looking to improve their knowledge of Boost and see some undocumented details or tricks. It’s assumed that you will have some experience in C++ already, as well being familiar with the basics of STL. A few chapters will require some previous knowledge of multithreading and networking. You are expected to have at least one good C++ compiler and compiled version of Boost (1.53.0 or later is recommended), which will be used during the exercises within this book.
商品描述(中文翻譯)
使用 Boost 函式庫,您可以真正釋放 C++ 的威力。透過食譜式的方法學習更快、更好地構建應用程式,使用大量的食譜使一切變得如此容易理解和應用。
概述
- 探索如何編寫一次程式,然後在 Linux、Windows、MacOS 和 Android 作業系統上使用它
- 包含來自 Boost 函式庫開發者的多執行緒、網路、元程式設計和泛型程式設計的日常使用食譜
- 利用 Boost 和 C++ 的真正力量,為在任何專案中使用它打下良好的基礎
詳細內容
Boost 函式庫由專業人士開發,經過多個平台和處理器架構的測試,並包含廣泛任務的可靠解決方案。本食譜將帶您簡化應用程式開發的過程,並指導您快速編寫完美的應用程式。
'Boost C++ 應用程式開發食譜' 為您提供了一系列清晰的逐步食譜,幫助您利用 Boost 和 C++ 的真正力量,同時為在任何專案中使用它打下良好的基礎。
'Boost C++ 應用程式開發食譜' 研究了 Boost 函式庫,並解開了在不同情況下使用哪個函式庫的神秘與困惑。它將帶您通過多個清晰、實用的食譜,幫助您利用現成的解決方案。
Boost C++ 應用程式開發食譜首先教授 Boost 函式庫的基本知識,這些函式庫現在大多是 C++11 的一部分,並消除了記憶體洩漏的可能性。資源管理將變得輕而易舉。我們將看到在編譯時可以完成什麼樣的工作,以及 Boost 容器可以做什麼。您認為多執行緒是一種負擔嗎?使用 Boost 就不是。認為編寫可攜帶且快速的伺服器是不可能的?您會感到驚訝!編譯器和作業系統差異太大?使用 Boost 就不是。從操作影像到圖形、目錄、計時器、檔案、字串 – 每個人都會找到有趣的主題。
您將學習開發高品質、快速且可攜帶的應用程式所需的一切。編寫一次程式,然後您可以在 Linux、Windows、MacOS、Android 作業系統上使用它。
您將從本書中學到什麼
- 熟悉日常使用的新資料類型
- 使用指標來管理資源
- 掌握編譯時計算和斷言
- 使用 Boost 函式庫進行多執行緒處理
- 了解不同任務的平行執行
- 使用 Boost 函式庫執行常見的字串相關任務
- 將所有過程、計算和互動拆分為任務並獨立處理
- 學習圖形操作的基本知識
- 探索用於檢測編譯器、平台和 Boost 特性的不同輔助宏
- 在 C++03 中使用選定的 C++11 特性
方法
本書採用食譜式的方法,提供詳細且實用的食譜,使用 Boost 函式庫。
本書的讀者對象
本書非常適合新接觸 Boost 的開發者,並希望提高對 Boost 的了解,並了解一些未記錄的細節或技巧。假設您已經具備一定的 C++ 經驗,並熟悉 STL 的基本知識。幾個章節將需要一些多執行緒和網路的先前知識。您應該至少擁有一個良好的 C++ 編譯器和編譯過的 Boost 版本(建議使用 1.53.0 或更高版本),這將在本書的練習中使用。