Herb Schildt's C++ Programming Cookbook
Herbert Schildt
- 出版商: McGraw-Hill Education
- 出版日期: 2008-01-01
- 售價: $2,560
- 貴賓價: 9.5 折 $2,432
- 語言: 英文
- 頁數: 509
- 裝訂: Paperback
- ISBN: 007148860X
- ISBN-13: 9780071488600
-
相關分類:
C++ 程式語言
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$990Inside XML (Paperback)
-
$2,100$1,995 -
$1,050$998 -
$399Relational Database Design Clearly Explained, 2/e (Paperback)
-
$1,575$1,496 -
$972The Definitive Guide to Samba 3 (Paperback)
-
$1,680$1,596 -
$350$277 -
$990$891 -
$600$480 -
$1,500$1,470 -
$1,180$1,003 -
$620$527 -
$620$490 -
$620$527 -
$680$578 -
$450$351 -
$720$569 -
$490$417 -
$740$585 -
$299JavaScript: The Missing Manual
-
$1,575$1,544 -
$1,050Microsoft SQL Server 2008 Internals (Paperback)
-
$520$442 -
$840Statistical Analysis: Microsoft Excel 2010 (Paperback)
相關主題
商品描述
Your Ultimate "How-To" Guide to C++ Programming!
Legendary programming author Herb Schildt shares some of his favorite programming techniques in this high-powered C++ "cookbook." Organized for quick reference, each "recipe" shows how to accomplish a practical programming task. A recipe begins with a list of key ingredients (classes, functions, and headers) followed by step-by-step instructions that show how to assemble them into a complete solution. Detailed discussions explain the how and why behind each step, and a full code example puts the recipe into action. Each recipe ends with a list of options and alternatives that suggest ways to adapt the technique to fit a variety of situations. Whether you're a beginner or an experienced pro, you'll find recipes that are sure to satisfy your C++ programming appetite!
Topics include:
String Handling · Standard Template Library (STL) Containers · Algorithms · Function Objects · Binders · Negators · Adaptors · Iterators · I/O · Formatting Data
Learn how to:
- Tokenize a null-terminated string
- Create a search and replace function for strings
- Implement subtraction for string objects
- Use the vector, deque, and list sequence containers
- Use the container adaptors stack, queue, and priority_queue
- Use the map, multimap, set, and multiset associative containers
- Reverse, rotate, and shuffle a sequence
- Create a function object
- Use binders, negators, and iterator adapters
- Read and write files
- Use stream iterators to handle file I/O
- Use exceptions to handle I/O errors
- Create custom inserters and extractors
- Format date, time, and numeric data
- Use facets and the localization library
- Overload the [ ], ( ), and -> operators
- Create an explicit constructor
- And much, much more
商品描述(中文翻譯)
《C++程式設計的終極「如何」指南!》
傳奇程式設計作家Herb Schildt在這本高效的C++「食譜」中分享了他最喜愛的程式設計技巧。這本書以快速查詢為目的,每個「食譜」都展示了如何完成一個實用的程式設計任務。每個食譜都以關鍵元素(類別、函式和標頭檔)的清單開始,然後是逐步指示,展示如何將它們組合成一個完整的解決方案。詳細的討論解釋了每個步驟的原因和方法,並提供完整的程式碼範例。每個食譜都以選項和替代方案的清單結束,建議如何適應不同的情況。無論您是初學者還是經驗豐富的專業人士,您都能找到滿足您C++程式設計需求的食譜!
主題包括:
字串處理 · 標準模板庫(STL)容器 · 演算法 · 函式物件 · 綁定器 · 否定器 · 適配器 · 迭代器 · 輸入/輸出 · 格式化資料
學習如何:
· 將以空結尾的字串分割成標記
· 創建字串的搜尋和替換函式
· 實作字串物件的減法
· 使用vector、deque和list序列容器
· 使用容器適配器stack、queue和priority_queue
· 使用map、multimap、set和multiset關聯容器
· 反轉、旋轉和洗牌序列
· 創建函式物件
· 使用綁定器、否定器和迭代器適配器
· 讀取和寫入檔案
· 使用流迭代器處理檔案輸入/輸出
· 使用例外處理I/O錯誤
· 創建自訂插入器和提取器
· 格式化日期、時間和數值資料
· 使用facet和本地化程式庫
· 重載[ ]、( )和->運算子
· 創建顯式建構函式
· 還有更多更多的內容