Wednesday 1 August 2012

How to code in C++ using Microsoft Visual Studio 2010



The programs are being developed using Microsoft Visual Studio 2010. Steps to start the development –
1.  Open Microsoft Visual Studio 2008/2010.
2.  Go to File à New à Project.
3.  On the left hand side under Recent Templates tab click on Visual C++, then click on Win 32, and then click on Win 32 Console Application.
4.  Provide a name for the project in the 1st textbox or right in front of the Name Label.
5.  Provide any name and press Enter.
6.  A Dialog box will be opened whose title is Win 32 Application Wizard Name.
7.  At the bottom there is a button named Next.
8.  Click Next.
9.  There is one Checkbox named Empty Project, check mark it and then click Finish button.
10.On the right hand side there is a window named as Solution Explorer.
11.In Solution Explorer right- click on the Source Files folder and then click on Add à New Item
12.Click on C++ File (.cpp).
13.Provide a name for it and press Enter or press the OK Button.
14.Double click on the .cpp file under the Source Folder.

Coding is done inside this .cpp file. So, Follow up with the codes....

No comments:

Post a Comment