You should hand in your source code as well as your output from your program. NOTE: If you have keyboard input, you should have your program echo the input to the screen so that you can see it on output. For example,
cout << "Number Please: ";
cin >> x;
cout << x << endl; //Echoes inputTo create an output file that you can print,
Get the MS-DOS Prompt and go to the directory in which you saved your project.
Go to the Debug directory.
You will find an executable (.EXE) version of your program.
Invoke your program as follows: >Program > Program.txt
This will generate an output file Program.txt that you can print and hand in.
Note that both the source code, Program.cpp, and the output file, Program.txt, can be printed through Microsoft Word or an editor.