Week 3 Objectives

Given a programming requirement for iteration, design, code and test a solution algorithm which employs loop functions appropriate to the task.

Key Concepts:

  • Explain and differentiate the various looping structures available in C++.
  • Examine which looping structures are appropriate under what conditions.
  • Discuss and implement a debugger using breakpoints and the watch window to ensure that infinite looping does not occur.

Given a program with logic errors that is intended as a solution to a simple program, employ debugging diagnostics (breakpoints, watch window, call stack) functions to remove and correct the errors.

Key Concepts:

  • Utilize breakpoints in debug mode to examine execution paths and information.
  • Utilize the watch window to observe changing data as one steps-over or into code segments.
  • Use the call stack to trace function execution.

Table Of Contents

Previous topic

Debugging C++ with Visual Studio!

Next topic

Boolean things: Asking complex questions

This Page