Question: Exercise2: Hello This is a step-by-step set of instructions for creating a project in Visual C++ 2013. Start Visual C++ 2013 Select File -> New

Exercise2: Hello

This is a step-by-step set of instructions for creating a project in Visual C++ 2013.

  1. Start Visual C++ 2013
  2. Select File -> New -> Project
  3. Under Installed Templates in the left column in the window that opens, make sure Visual C++ is selected
  4. In the middle column, select Empty Project
  5. Down in the bottom of the window, fill in the Name with the name of the project. Lets call this one Hello. (For example, ProgrammerHello.)
  6. Pay attention to the Location field, it will tell you where the project will be saved. You can change it if you want by pressing the Browse button to the right.
  7. When you are ready, press the OK button to create the new project.
  8. In the side column of the main window, you should see your project in the Solution Explorer.
  9. Find the folder named Source Files and right-click on it. In the menu that pops up, select Add -> New Item
  10. Under Installed Templates in the left column in the window that opens, make sure Visual C++ is selected.
  11. In the middle column, select C++ File (.cpp)
  12. Down in the bottom of the window, find the Name field and name the file PatProgrammerHello.cpp
  13. Pay attention to the Location field, it will tell you where the project will be saved. Do not change this location.
  14. When you are ready, press the Add button to create the file.
  15. In the file, write the simple Hello program (to print Hello , for example print Hello Pat Programmer).
  16. Make sure that the program runs and that the window stays open.
    1. Youll need that system(pause); line in your code.
  17. When done, find the file lastNamehello.cpp (you paid attention to where you saved the project andlastNamehello.cpp at back in steps 6 and 13, right?)
  18. You need to submit the file lastNamehello.cpp.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!