From the Back Cover
With this book, beginning programmers finally have a practical book on debugging techniques for C++. Practical Debugging in C++ serves as an important companion to any introductory textbook on C++ programming. Whether in the computer lab or at home, programmers should keep this book handy for quick reference when writing and debugging C++ programs.
The book includes chapters on:
- common syntactic and semantic programming errors, with illustrative examples
- tracing techniques using output statements (tout) in C++ programs, with examples illustrating how tracing can be easily inserted into your programs
- application of tracing to more advanced C++ constructs such as strings, pointers, structs, and classes
- use of the interactive debugger, with examples from Microsoft Visual C++ and Metrowerks CodeWarrior
Beginning programmers will want to use this book because it is easy and fast to read with many simple examples. It will save many frustrating hours of debugging time when the tracing and system debugger techniques illustrated in the text and figures are applied.
For the intermediate programmer, particularly those with some experience in other languages, this guide provides a quick up-to-speed primer in C++ debugging with a series of examples of common syntax and semantic errors and how they can be detected and corrected.
Instructors in introductory programming classes will want to recommend this book to their students because it will enable them to become much more self-sufficient, greatly reducing the time students will need for individual consultation regarding their programs.
About the Author
Ann R. Ford is currently a Lecturer of electrical engineering and computer science at the University of Michigan, Ann Arbor. She has taught introductory courses in C and C++ programming for the past 10 years and has applied and refined these debugging principles for her many students. She received the B.A. degree in psychology from the State University of New York at Buffalo and the M.S. degree in computer and communication science from the University of Michigan, Ann Arbor.
Toby J. Teorey is currently a Professor of electrical engineering and computer science at the University of Michigan, Ann Arbor. He received the B.S. and M.S. degrees in electrical engineering from the University of Arizona, Tucson and the Ph.D. degree in computer science from the University of Wisconsin, Madison. He is the author of Database Modeling and Design (1999) and has taught courses in C++ programming and database management systems extensively.