C++ Cookbook: Solutions and Examples for C++ Programmers (Cookbooks (O'Reilly))
<div><p>Despite its highly adaptable and flexible nature, C++ is also one of the more complex programming languages to learn. Once mastered, however, it can help you organize and process information with amazing efficiency and quickness.</p><p>The <i>C++ Cookbook</i> will make your path to mastery much shorter. This practical, problem-solving guide is ideal if you're an engineer, programmer, or researcher writing an application for one of the legions of platforms on which C++ runs. The algorithms provided in <i>C++ Cookbook</i> will jump-start your development by giving you some basic building blocks that you don't have to develop on your own. </p><p>Less a tutorial than a problem-solver, the book addresses many of the most common problems you're likely encounter--whether you've been programming in C++ for years or you're relatively new to the language. Here are just some of the time-consuming tasks this book contains practical solutions for:</p><ul><li>Reading the contents of a directory</li><li>Creating a singleton class</li><li>Date and time parsing/arithmetic</li><li>String and text manipulation</li><li>Working with files</li><li>Parsing XML</li><li>Using the standard containers </li></ul><p>Typical of O'Reilly's "Cookbook" series, <i>C++ Cookbook</i> is written in a straightforward format, featuring recipes that contain problem statements and code solutions, and apply not to hypothetical situations, but those that you're likely to encounter. A detailed explanation then follows each recipe in order to show you how and why the solution works. This question-solution-discussion format is a proven teaching method, as any fan of the "Cookbook" series can attest to. This book will move quickly to the top of your list of essential C++ references.</p></div>