Objective
- Build a simple C++ project with MS Visual Studio
Programming
- Follow the steps 1 through 9 of Starting a New project in Appendix M of the textbook to create a new C++ project ready for code to be entered. In step 3, set the location as the Desktop (You may choose another location if your prefer.).
- Enter the following source code:
#include <iostream> using namespace std; // This program prints "Hello World" // to the screen int main() { cout << "Hello World" << endl; return 0; }
- Save the project by selecting Save All from the File menu.
- Compile and Execute your program as directed in Appendix M.
- Demonstrate your program for the lab instructor.
- Copy your project folder to a USB Flash drive or another long term storage location of your choosing.
- Remove your project folder from the Desktop.
|