Put the Power of the C++ Standard Library to Work!
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.
* Provides a practical, easy-to-use reference to the C++ Standard Library filled with common programming solutions
* Covers a variety of topics, from general principles of Standard Library programming to text strings, vectors, and numeric algorithms
* Shows the practical application of the C++ Standard Library, as opposed to just explaining how the library works
* Provides quick answers to problems such as storing specified values in an existing container, manipulating groups of bits, merging lists, using a map or multimap as a dictionary, using a class member function in an algorithm, extracting tokens that are between delimiters, making a sequence of random numbers, and computing statistics of data
* Includes a CD-ROM with Borland C++ Builder 6 Personal, the Boost portable C++ source library, and all of the source code and programs from the book
ON THE CD-ROM (see Appendix B for more details)
* Borland® C++ Builder™ 6 Personal. Contains all the tools needed to develop in C++ for the Windows platform
* Boost Library version 1.32.0. Code for the entire Boost portable C++ source library
* Source Code. Contains all the source code from the tips and digital image processing examples in the book
* Figures. Includes all of the fi gures from the book by chapter
SYSTEM REQUIREMENTS: Intel Pentium II/400 MHz or compatible; Microsoft Windows 98, 2000 (SP2), or XP; 128 MB RAM (256 MB recommended); 550 MB hard disk space (full install); CD-ROM drive; SVGA or higher resolution monitor (800x600, 256 color); Mouse or other pointing device.
About the Author
Greg Reese (Dayton, OH) has performed scientifi c programming and algorithm development in industry and research laboratories for over 15 years. He has written in C++ for the last 10 years and has taught the language at the university level. Greg has a Ph.D. in Electrical Engineering and extensive experience in digital image processing, human vision, and pattern recognition. Greg is currently Senior Research Computing Specialist at Miami University in Oxford, Ohio.