Top-Down Design and Using a C++ Debugger
Lecture no. 12 from the course: Introduction to C++: Programming Concepts and Applications
Taught by Professor John Keyser | 28 min | Categories: The Great Courses Plus Online Professional Development Courses
Get to know the vital task of debugging—finding and fixing errors in your code. First, consider the advantages of top-down design, where a complex task is divided into manageable sub-tasks, as opposed to the bottom-up approach that lets complexity emerge more organically, if less predictably. See how incremental development helps in debugging through tools such as the breakpoint and step-over commands.