Table of Contents; Preface; About the Examples; Conventions Used in This Book; Using Code Examples; Comments and Questions; Safari Enabled; Acknowledgments; From D. Ryan Stephens; From Christopher Diggins; From Jonathan Turkanis; Building C++ Applications; 1.0 Introduction to Building; Basic Terminology; IDEs and Build Systems; Toolset Overview; The GNU Compiler Collection (GCC); Visual C++; Intel; Metrowerks; Borland; Comeau; Digital Mars; IDE Overview; Visual C++; CodeWarrior; C++Builder; Dev-C++; John, Paul, George, and Ringo; 1.1 Obtaining and Installing GCC; Problem; Solution; Windows. UnixDiscussion; See Also; 1.2 Building a Simple "Hello, World" Application from the Command Line; Problem; Solution; Discussion; See Also; 1.3 Building a Static Library from the Command Line; Problem; Solution; Discussion; See Also; 1.4 Building a Dynamic Library from the Command Line; Problem; Solution; Discussion; Symbol visibility; Passing libraries to the linker; Import libraries and module definition files; Exporting symbols from a DLL; Importing symbols from a DLL; Building DLLs with GCC; GCC 4.0's -fvisibility option; Symbol Visibility with Metrowerks for Mac OS X; Command-line options. See Also1.5 Building a Complex Application from the Command Line; Problem; Solution; Discussion; Searching for included headers; Passing libraries to the linker; Running your application; See Also; 1.6 Installing Boost. Build; Problem; Solution; Discussion; 1.7 Building a Simple "Hello, World" Application Using Boost. Build; Problem; Solution; Discussion; See Also; 1.8 Building a Static Library Using Boost. Build; Problem; Solution; Discussion; See Also; 1.9 Building a Dynamic Library Using Boost. Build; Problem; Solution; Discussion; See Also. 1.10 Building a Complex Application Using Boost. BuildProblem; Solution; Discussion; Library targets; See Also; 1.11 Building a Static Library with an IDE; Problem; Solution; Discussion; CodeWarrior; C++Builder; Dev-C++; See Also; 1.12 Building a Dynamic Library with an IDE; Problem; Solution; Discussion; CodeWarrior??; C++Builder; Dev-C++; See Also; 1.13 Building a Complex Application with an IDE; Problem; Solution; Discussion; CodeWarrior?; C++Builder; Dev-C++; See Also; 1.14 Obtaining GNU make; Problem; Solution; Windows; Unix; Discussion; See Also. 1.15 Building A Simple "Hello, World" Application with GNU makeProblem; Solution; Discussion; Make variables; Implicit Rules; Customization points; VPATH and the vpath directive; See Also; 1.16 Building a Static Library with GNU Make; Problem; Solution; Discussion; See Also; 1.17 Building a Dynamic Library with GNU Make; Problem; Solution; Discussion; See Also; 1.18 Building a Complex Application with GNU make; Problem; Solution; Discussion; See Also; 1.19 Defining a Macro; Problem; Solution; Discussion; See Also; 1.20 Specifying a Command-Line Option from Your IDE; Problem; Solution.
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. The C++ Cookbook 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 C++ Cookbook will jump-start your development by giving you some basic building blocks that you don't.