C++ Standard Library Practical Tips

  • 8h 17m
  • Greg Reese
  • Cengage Course PTR
  • 2006

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 specified 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.

About the Author

Greg Reese (Dayton, OH) has performed scientific programming and algorithm development in industry and research laboratories for 20 years and has written in C++ for the last 10 years. He has a Ph.D. in Electrical Engineering and extensive experience in digital image processing, human vision, and pattern recognition. He has worked on software for several NASA projects, written three general-purpose image processing suites, created a commercial molecular-biology program for the PC, and is also the co-author of an industry-wide, medical, electronic-data standard.

In this Book

  • The C++ Standard Library
  • Review of the Standard Template Library
  • Tips on Containers in General
  • Tips on Vectors
  • Tips on Deques
  • Tips on Lists
  • Tips on Associative Containers
  • Tips on Other Containers
  • Tips on Algorithms
  • Tips on Text Processing
  • Tips on Numerical Processing
  • Final Tips
  • Image Processing
  • References
  • Bibliography
SHOW MORE
FREE ACCESS