programming · techs

How to setup and run Visual Studio to run c++ console applications

Hello Folks, Today  I am gonna guide you how to setup Visual Studio to run C++ Console applications.

Firstly, open Visual Studio and click on File -> New -> Project. Then select Visual C++.

Click on Install Universal Windows Platform Tools.

step-1

Click Ok. Now you will be prompted to the below window.

step-2

Click Install. Now You will be prompted to Visual Studio Features Window.Check Visual C++ as per the following figure.

step 3.png

Now, Click Next.  Then, You will be shown a window as in the below figure.

step-4

Click UPDATE and accept the administrator privileges. It installs all the required files and this process takes few minutes to complete and click on Finish.

Now Open Visual Studio 2015 and click on New Project -> Visual C++ -> Win32 -> Win32 Console Application. Then Click Ok.

whatsapp-image-2017-01-22-at-6-35-44-am

Now you will be shown the following window.

whatsapp-image-2017-01-22-at-6-48-52-am-1

Click Next.

WhatsApp Image 2017-01-22 at 6.48.52 AM (2).jpeg

Check Empty Project and click Finish. 

whatsapp-image-2017-01-22-at-6-48-53-am

Now Select Source Files -> Add ->New Item.

WhatsApp Image 2017-01-22 at 6.48.54 AM.jpeg

Click Add. 

Now an Editor will be shown, write the code and Enjoy Coding…….

To Compile:

Ctrl + F7.

To Run :

Click on Local Windows Debugger above the Editor.

 

Advertisements

One thought on “How to setup and run Visual Studio to run c++ console applications

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s