6
1. Install Winrar first. The instructions are at the top of the Mech 215 web page. 2. Download the mech215_lecture1.rar file into a folder (eg c:\edit\ myfiles). Then right click and select Extract to folder (will have the same name as the *.rar file) as indicated below. 3. A new folder will be made with the contents of the rar file (mech215_lect1) as follows.

Encsusers.encs.concordia.ca/~bwgordon/hello_world_visual_st…  · Web view2. Download the mech215_lecture1.rar file into a folder (eg c:\edit\myfiles). Then right click and select

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Encsusers.encs.concordia.ca/~bwgordon/hello_world_visual_st…  · Web view2. Download the mech215_lecture1.rar file into a folder (eg c:\edit\myfiles). Then right click and select

1. Install Winrar first. The instructions are at the top of the Mech 215 web page.

2. Download the mech215_lecture1.rar file into a folder (eg c:\edit\myfiles). Then right click and select Extract to folder (will have the same name as the *.rar file) as indicated below.

3. A new folder will be made with the contents of the rar file (mech215_lect1) as follows.

Page 2: Encsusers.encs.concordia.ca/~bwgordon/hello_world_visual_st…  · Web view2. Download the mech215_lecture1.rar file into a folder (eg c:\edit\myfiles). Then right click and select

4. Go into the mech215_lect1 folder. You will then get.

5. Go into the hello world folder. You will then get the following screen. Double click the *.sln project file (Microsoft Visual Studio Solution file) to open it.

Page 3: Encsusers.encs.concordia.ca/~bwgordon/hello_world_visual_st…  · Web view2. Download the mech215_lecture1.rar file into a folder (eg c:\edit\myfiles). Then right click and select

6. When you open the *.sln project file you might have to hit OK a couple times if the project file needs to be converted from an older version. Note some of my example files are from Visual Studio 2012 or earlier.After you have opened the project file you will get. Note if the solution explorer window is missing or you close it by accident, you can select VIEW->Solution Explorer.

7. To build the project select BUILD->Rebuild Solution as follows.

Page 4: Encsusers.encs.concordia.ca/~bwgordon/hello_world_visual_st…  · Web view2. Download the mech215_lecture1.rar file into a folder (eg c:\edit\myfiles). Then right click and select

8. If the build works then you will get the succeeded message in the bottom output window as follows.

9. To execute the program select DEBUG->Start Without Debugging as follows.

Page 5: Encsusers.encs.concordia.ca/~bwgordon/hello_world_visual_st…  · Web view2. Download the mech215_lecture1.rar file into a folder (eg c:\edit\myfiles). Then right click and select

10. You should get the following black output screen. Note you can put your own programs (or cut and paste them from the textbook) into program.cpp in order to re-use the project file.