C++ Standard Library Practical Tips

Greg Reese

  • 出版商: Charles River Media
  • 出版日期: 2005-10-03
  • 定價: $1,550
  • 售價: 8.0$1,240
  • 語言: 英文
  • 頁數: 1
  • 裝訂: Paperback
  • ISBN: 1584504005
  • ISBN-13: 9781584504009
  • 相關分類: C++ 程式語言
  • 立即出貨(限量) (庫存=1)

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

商品描述

Description

C++ Standard Library Practical Tips teaches beginning and experienced programmers how to use the Standard Library and its major component the Standard Template Library (STL) effectively in routine programming chores. The book provides 100 quick, easy-to-use tips and solutions to common programming problems such as using the right container, getting a C-style array from a vector, initializing a map with specifi ed values, and computing the mean, median, and mode. The solutions are grouped by topics including, lists, deques, vectors, text processing, numerical algorithms, numerical processing, and containers so programmers can quickly look up a solution when they encounter a problem. To demonstrate the use of the tips in practical application, the book concludes with a capstone project about digital image processing and, in particular, image enhancement. This application shows the power of the Standard Library as it graphically illustrates how just a few lines of Standard Library code can produce major changes in the appearance of an image.

 

 

商品描述(中文翻譯)

《C++標準庫實用技巧》是一本教導初學者和有經驗的程式設計師如何有效地使用標準庫及其主要組件標準模板庫(STL)來處理常見的程式設計任務的書籍。本書提供了100個快速、易於使用的技巧和解決方案,用於解決常見的程式設計問題,例如選擇正確的容器、從向量獲取C風格的數組、使用特定值初始化映射,以及計算平均值、中位數和眾數。這些解決方案按主題分組,包括列表、雙端隊列、向量、文本處理、數值算法、數值處理和容器,以便程式設計師在遇到問題時能夠快速查找解決方案。為了演示這些技巧在實際應用中的使用,本書以一個關於數字圖像處理的專題項目作為結尾,特別是圖像增強。這個應用展示了標準庫的強大功能,通過圖形方式說明了僅僅幾行標準庫代碼就可以對圖像的外觀產生重大變化。