Visual Studio C# Reading Writing Excel Worksheet

Narottam04

Narottam04

Posted on • Updated on

[Step By Step Guide] How to set up visual studio code for C and C++ programming 2021.

Why should y'all use visual studio code ?

Visual Studio Lawmaking is a costless source-code editor made by Microsoft for Windows, Linux and macOS. Features include support for debugging, syntax highlighting, intelligent code completion, snippets, code refactoring, and embedded Git.

It currently supports hundreds of programming languages and file formats. Several common languages come supported by default (JavaScript, HTML, CSS, etc), and others proceeds support by adding integrated extensions. If you find a linguistic communication that isn't supported past an existing extension, the open nature of the extensions system means you can build i.

In this blog post you will learn how to set visual studio code on your local environment for C and C++, this can go tricky but if you follow step by step yous can gear up it upwards easily.

Step ane: Download Visual studio code.

Type vscode on your browser and click on the first link of the folio, or but click here.

install vscode

vscode

Now download the installer according to your operating system.

Step two: Install vscode

This stride is easy, accept the agreement and click side by side.

install

Check the following options as shown in above image and click next and install.

Step 3: Download extensions for visual studio code.

vscode editor

One time you have installed visual studio lawmaking, at present its fourth dimension to install some extensions. Click on the button where cerise arrow is pointing in above image.

Now click on C/C++ extension from Microsoft as shown in the beneath prototype. If y'all don't see the extension search C/C++ and you lot will detect information technology.

extension

Install the extension.

c

Now we have to install another extension called Code Runner.

code runner

At present we take successfully installed code editor simply we need a compiler to compile and output our code, for that nosotros will be installing MinGW.

Stride 4: Download MinGW

Type mingw on google and choose following first link as shown in the image below or Click Here.

mingw

At present click download.

download

Step five: Install MinGW

Open the installer, you should run across something like the beneath prototype. Click on install and cull your directory where the software should exist installed and click continue.

mingw

mingw install

After installing, click on keep and right click on every checkbox and choose marking for installation.

install

Later on checking all checkboxes you should meet something like paradigm below.

install

Now click Installation on top left corner and and then choose Apply Changes. You should meet something similar shown in the image below.

install

And and then click on Apply.

One time you complete the installation, you should encounter something like the prototype below.

install

Click close and close the installer.

Step half dozen: Copy Bin Path

Now open 'This PC' and open 'local Disk C' you lot should see mingw file and click on bin folder.

bin path

Now y'all have to copy the folder destination which is to a higher place the folio every bit shown below.

bin path

Now right click and copy or only press 'Ctrl + C' on your keyboard.

Step 7: Surroundings Variables

Open 'Control Panel' from your start carte du jour and click on System. If you don't find system on your control panel only type 'system' on the search bar which you can find in tiptop right corner of the control panel.

variable

Click on Advanced system setting on right side yous should encounter arrangement backdrop every bit shown in the prototype below.

variable

Now click on Environment Variables you should see something every bit shown in the image below.

variable

Now click on the path in system variable and click on edit as shown in the image below.

variable

Now click on new and paste the bin path that nosotros have copied in the previous stride and and so click Ok.

variable

At present click ok till in that location are no pop ups left.

Step 8: Permit'southward check if MinGW has been successfully installed or not.

Click on search push button near the lesser left of windows and search for control prompt.

cmd

                          g              ++                                          --version                                                  

Enter fullscreen mode Get out fullscreen mode

cmd

And if you see something similar the image in a higher place, voila! we did it.

🛑 🛑 If you become some error don't worry just reinstall mingw as shown in the pace four and step v and it should solve the problem.🛑🛑

Step eight: Let'due south write our starting time plan in C++

Hurray! we accept successfully set vscode for C and C++ at present lets test it by writing our offset program in vscode.

Open vscode.

Click on 'File' in upper left section and cull 'Open up Folder'.

Lets brand a new folder in dekstop and select the folder.

vscode

Now click on the document symbol in the side bar. If yous dont see a sidebar simply printing Ctrl + B on keyboard.

Now brand a file with a extension of .cpp as shown in the image below

vscode

At present lets type our kickoff code. You can copy and paste the code that I have provided below.

hello world

                          #include<iostream>                            using              namespace              std              ;              int              main              ()              {              cout              <<              "hello world"              ;              }                      

Enter fullscreen manner Get out fullscreen mode

Step 9: Run the lawmaking.

Right click and click on run or printing keyboard shortcut 'Ctrl+Alt+Northward'.

terminal

And there you go y'all have written your beginning program in C++, I promise this tutorial was helpful if you are facing whatsoever trouble while installing let me know in the comment section or email me at blog.webdrip.in.

Go more insights similar this on my blog, https://blog.webdrip.in.

aternuesconjou.blogspot.com

Source: https://dev.to/narottam04/step-by-step-guide-how-to-set-up-visual-studio-code-for-c-and-c-programming-2021-1f0i

0 Response to "Visual Studio C# Reading Writing Excel Worksheet"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel