Herb Schildt's C++ Programming Cookbook

Herb Schildt's C++ Programming Cookbook

作者: Herbert Schildt
出版社: McGraw-Hill Education
出版在: 2008-01-01
ISBN-13: 9780071488600
ISBN-10: 007148860X
裝訂格式: Paperback
總頁數: 509 頁





內容描述


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 DataLearn how to:Tokenize a null-terminated stringCreate a search and replace function for stringsImplement subtraction for string objectsUse the vector, deque, and list sequence containersUse the container adaptors stack, queue, and priority_queue Use the map, multimap, set, and multiset associative containersReverse, rotate, and shuffle a sequenceCreate a function objectUse binders, negators, and iterator adaptersRead and write filesUse stream iterators to handle file I/OUse exceptions to handle I/O errorsCreate custom inserters and extractorsFormat date, time, and numeric dataUse facets and the localization libraryOverload the [ ], ( ), and -> operatorsCreate an explicit constructorAnd much, much more




相關書籍

零基礎 C++ 程式設計入門

作者 數位新知有限公司

2008-01-01

Web Protocols and Practice: HTTP/1.1, Networking Protocols, Caching, and Traffic (Paperback)

作者 Balachander Krishnamurthy Jennifer Rexford

2008-01-01

Intermediate C Programming for the PIC Microcontroller: Simplifying Embedded Programming

作者 Ward Hubert Henry

2008-01-01