| ←Older revision | Revision as of 19:10, 26 June 2016 | ||
| Line 3: | Line 3: | ||
== Steps == | == Steps == | ||
| − | #Visit https://www.visualstudio.com/en-us/downloads/download-visual-studio-vs.aspx and download the free Visual Studio version called “Visual Studio Community”. [[Image:Step_1 | + | #Visit https://www.visualstudio.com/en-us/downloads/download-visual-studio-vs.aspx and download the free Visual Studio version called “Visual Studio Community”. [[Image:Step_1 7.png|center]] |
#After finishing downloading, click on the file on your download status bar and then click on run. [[Image:Step_2 4.png|center]] | #After finishing downloading, click on the file on your download status bar and then click on run. [[Image:Step_2 4.png|center]] | ||
#You will be met with a prompt to select your installation location and type. It’s recommended to leave the installation location as is. I would recommend a custom installation as you will be able to see the available tools and features Visual Studio offers albeit most won’t be necessary. [[Image:Step_3 3.png|center]] | #You will be met with a prompt to select your installation location and type. It’s recommended to leave the installation location as is. I would recommend a custom installation as you will be able to see the available tools and features Visual Studio offers albeit most won’t be necessary. [[Image:Step_3 3.png|center]] | ||
| − | #Select | + | #Select Visual C++ under Programming Languages. No other features are necessary but feel free to consider other options.[[Image:Step_4 6.png|center]] |
#* By selecting the right-pointed arrow to the left of the boxes, the list of features will appear for each section for you to choose. If you check the box for the section, you will download '''ALL''' of the features for that section (if you select everything it will be 45 GB). | #* By selecting the right-pointed arrow to the left of the boxes, the list of features will appear for each section for you to choose. If you check the box for the section, you will download '''ALL''' of the features for that section (if you select everything it will be 45 GB). | ||
| − | # | + | # Continue through the prompts. You will be asked to login with your Microsoft account, but you don't have to. The download will vary depending on how many features you’ve selected. |
| − | + | Select the development settings you will use the most – for our case it will be Visual C++. You can choose to select the checkbox for the previous version’s customizations and change your colour theme. As suggested on the bottom, you can change these settings once fully installed. [[Image:Step_5 3.png|center]] | |
#* If you've previously installed Visual Studio, you won't get a pop-up for "Customizing Development Settings". | #* If you've previously installed Visual Studio, you won't get a pop-up for "Customizing Development Settings". | ||
| − | + | ||
| − | + | ||
#Click on “New Project…” or go to File -> New -> Project [[Image:Step_7_v2.png|center]] | #Click on “New Project…” or go to File -> New -> Project [[Image:Step_7_v2.png|center]] | ||
#Select Installed -> Templates -> Visual C++. Click on “Empty Project” and name your solution “Hello World” and then press “Ok”. Optional – change the location of the project. [[Image:Step_8 1.png|center]] | #Select Installed -> Templates -> Visual C++. Click on “Empty Project” and name your solution “Hello World” and then press “Ok”. Optional – change the location of the project. [[Image:Step_8 1.png|center]] | ||
| Line 38: | Line 37: | ||
* Internet connection | * Internet connection | ||
| − | == | + | == Troubleshooting == |
* If you manually change the installation destination, verify that it is a safe location. As such, it's recommended to leave the installation destination for Visual Studio default. | * If you manually change the installation destination, verify that it is a safe location. As such, it's recommended to leave the installation destination for Visual Studio default. | ||
* Make sure you have sufficient memory space in your hard drive (HDD) or solid state drive (SDD) for the installation. | * Make sure you have sufficient memory space in your hard drive (HDD) or solid state drive (SDD) for the installation. | ||
| + | * To change the color theme, click on Tools -> Options -> Environment -> General -> Color Theme. | ||
| + | * To add line numbers, click on Tools -> Options -> Text Editor -> All Languages -> check the box for Line Numbers. | ||
lundi 27 juin 2016
Compile with Visual Studio
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire