Saturday 14 September 2013

project file in Visual Studio

In this post of shapes in C, we will discuss our fourth C tutorial for beginners in which we will tell how to make visual studio program.

After installation comes the step of making a project file in your C++ compiler. So, in this C tutorial for beginners, you are going to learn how to make a project file in Microsoft Visual Studio.

Step 1> First open the Microsoft Visual Studio by double clicking on its folder that is located on Desktop. You can also access it from start menu.



open visual studio




Step 2> If this error comes then download the patch mentioned below and install it, your program will become compatible. This error comes due to compatibility issues.

visual studio program


Step 3> After starting the C++ compiler, click on create project.


create project visual studio

Step 4> Click on Win32 console application and then name the project and click OK.

visual studio program


Step 5> Now click on next

visual studio program


Step 6> Now this window will appear

visual studio program


Step 7>Tick empty project and click finish

visual studio program


Step 8> Now this window will appear

visual studio program


Step 9> Now right click on source files and then go to add and then click on new item. Short keyboard key for it is Ctrl + Shift  + A

visual studio program


Step 10> Select C++ file and name it  and click add.

visual studio program

Step 11> Now your first project file is created and you can start your programming.

visual studio program


If you want to open the existing file then right click on existing files then go to add and then click on existing item. Short keyboard key for it is Shift + Alt + A




Now choose the file that you want to open



Note: In this C programming tutorial i want to tell my viewers that  you can not open multiple main files in single project. If you do it then your files won't compile. This is because every file would contain main function and as computer is dumb machine, it does not get that what file we are trying to compile. So always compile on one file at a time and remove other unnecessary files.

Final words:
I hope that this c++ tutorial of shapes in C would have taught you in how to make project file in visual studio.

0 comments:

Post a Comment