Presentation is loading. Please wait.

Presentation is loading. Please wait.

1. Open Visual Studio 2008.

Similar presentations


Presentation on theme: "1. Open Visual Studio 2008."— Presentation transcript:

1 1. Open Visual Studio 2008

2 2. Go to File , then select New and then select Project

3 3. A new window (see above) pops up
3. A new window (see above) pops up. Under Visual C++ (left side), select Win32. On the right side select Win32 Console Application. Create a Name for your project. Make sure the option “Create directory for solution” is not checked. Then click OK.

4 4. The above window pops up. Click Next> to continue.

5 5. The above window pops up
5. The above window pops up. Check the options Console application and Empty Project, then click Finish to continue.

6 6. In the top Menu bar select View then Solution Explorer.

7 7. You should see a screen similar to that one shown above

8 8. On the left side, under Project 1 (for this example) , right click on Source Files, then Add and then New Item…

9 9. A new window (see above) pops up
9. A new window (see above) pops up. On the right side select C++ File (.cpp). Create a Name for the C++ source code (can be equal or different from the project name). Then click Add.

10 10. A new window on the top right is created
10. A new window on the top right is created. Inside this window you will write the C++ source code.

11 11. Type the above example of lines of code inside the C++ source code area. This simple example program will display Hello! on the screen.

12 12. In the top Menu bar select Build then Build Solution.

13 13. Your program should compile without any error or warning messages

14 14. In the top Menu bar select Debug and then Start Without Debugging to run your program.

15 15. The output of your program will show up in a new window (see example above).


Download ppt "1. Open Visual Studio 2008."

Similar presentations


Ads by Google