Click on the Start Icon Click on All Programs
Scroll down to a point where the Microsoft Visual Studio 2013 folder appears. Click on the Microsoft Visual Studio 2013 folder.
Click on Visual Studio 2013 Click on Not now, maybe later.
Click on Start Visual Studio
The first time that Visual Studio 2013 is run on the computer, it does take a while to get things going. Eventually, something like the following appears:
Click on File, then New NOTE: New is in the Drop-Down selection set when you click on File. It appears to the left of what you can see here. Trust me! Then click on Project
Click the down arrow next to Visual Basic. Then click the right arrow next to Visual C++. Then click on the General option.
Click on Empty Project. Click on the box next to Create directory for solution to make sure that it is NOT CHECKED. This is very important. Click on the Location text box, and type in C:\Student.
Now click on the Name text box, and enter the name of your project. The name of the project will be composed of your last name, first initial, then Pgm00. Example: If Salma Hayek were creating the project, the project name would be HayekSPgm00.
After you put in your project name, click on OK. Now click on the menu item PROJECT, then Add new item.
In the Name text box, enter the same name you used for the project.
Now click on Add. Please note that the system automatically added the.cpp to the name of the file for you. This is a text editor that allows you to enter your C++ code. I will add some code to the HayekSPgm00.cpp file.
Once you have entered the corresponding code, substituting your name for that of Salma Hayek, click on the menu item BUILD, then Rebuild Solution. Hopefully you will get something that looks like the following: This means that there were no syntactical errors in your code. To see if it actually works, hit the F5 button on your keyboard to run the program.
As you can see, a Command Prompt window opened up, and in this case, it looks like the program did what the programmer wanted it to do. So, follow the instructions, and hit enter to exit the program. Unless something clearly went wrong in the execution of the program, you may ignore all of the nonsense that appears in the Output window. When things do go wrong in the running of your code, most of the time there will be very helpful information provided by the Visual Studio 2013 IDE that will aid you in debugging your code. OK, now that we are done for the day, we want to save our project to our flash drive. The first this we need to do is exit Visual Studio 2013.
The easiest thing to do is to click on the X in the upper right corner. After that, open up Windows Explorer, and go to the Student directory. We see the HayekSPgm00 directory that the IDE created for us. Open up that directory.
There are two things that are not necessary for us to save, the Debug directory, and the file HayekSPgm00.sdf. And, since these two things occupy a great deal of space, it is a VERY GOOD IDEA to delete them before saving the project directory. So, I will delete them. Now, I will copy the HayekSPgm00 directory and paste it to my flash drive.
After verifying that I have copied the information successfully to my flash drive, I will delete the directory from the ECC computer I have been using. You should NEVER leave any of your code on any of the school computers. If another student copies your code and turns it in as their own, the result will be that both of you will receive a grade of F for the assignment.
Much of the time, when the lab period has ended, you will not have completed the project you are currently working on. You will save all of the changes you have made to your project. You will exit Visual Studio 2013. You will save the project to your flash drive, verifying that the save was successful. You will delete the project the project from the school computer. You are done for the day. Now, the next day has arrived, and you want to continue working on your project. The first step will be to copy your project from your flash drive to the Student directory on the school computer. The process you will use to open up the project in Visual Studio 2013 will now be very quick. All you need to do is double-click your file that corresponds to the file HayekSPgm00.sln, and get:
Now you may begin to work on the project again!