Simple C/C++ program in Visual C++ 2010 Express Edition

1. At the home window click New Project, or File-> New-> Project.
2. Select Empty Project, write name of project and click OK.
3. Right click Source Files-> Add-> New Item.
4. Click C++ File, write name of File and then Click Add.
5. Write your code and Save it.
6. Click on Build and then select Compile or just press Ctrl+F7.
7. If there are any errors correct them and then compile again until code is successfully compiled.
8. Again click on Build and then, Build Solution or just press F7.
9. If build is not successful then correct the errors found and build again.
10. In Debug select Start Without Debugging.
11. Output will be displayed.

No comments:

Post a Comment