Capture program output

When you are satisfied with your program and the output, you need to prepare a hard copy of your program AND its result to hand in. To get a hard copy of the output, the following procedure shows you how to do it:

  1. Run your program by choose debug--->Start without Debugging

  2. Once your see the output of the program in the black DOS window, right click on the blue menu bar, select edit-->Select All.

    See the following image.

  3. Press Enter key on your keyboard.
  4. Go to Windows start menu, find and open Notepad.
  5. Paste.
  6. Save your output file as a .log file.
  7. Print your output.