CIS170C All Assignments CIS170C All Assignments | Page 4
b. insert an input statement: cin>>myVarable;
Step 4: Output
The black screen or console should read:
John Doe
CIS170C - Programming using C++
Hello, World
-
Step 5: Save Program
Save your program by clicking File on the menu bar and then clicking Save Program.cpp, or by
clicking the Save button on the toolbar, or Ctrl + S.
Step 6: Build Solution
To compile the program, click Build on the menu bar and then click the Build Solution or Build
LabA option. You should receive no error messages. If you see some error messages, check the
code above to make sure you didn't key in something wrong. Once you make your corrections
to the code, go ahead and click Build >> Build Solution again.
Step 7: Execute the Program
Once you have no syntax errors, to execute or run your program, click Debug on the menu bar,
and then click Start Without Debugging.
Step 8: Capture the Output
Print a picture of your screen output. (Do a print screen and paste this into MS Word.)
Step 9: Print the Source Code