0% found this document useful (0 votes)
6 views5 pages

Lab 01

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views5 pages

Lab 01

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Lab 01

Step by Step Guide to Install Vs Code and How to make C++ Environment on
vs code
1. First Need to search on google vscode download.
Or Click on the link which is given below.
https://code.visualstudio.com/download

2. Click on windows download button.

3. Go to Downloads Folder , right click on the vscode setup , hint enter on Run as
Administrator and click on next button.
4. After Installation, install some important extensions on vscode. You can install the C/C+
+ extension by searching for 'C++' in the Extensions view.

5. Installing the MinGW. Link is given below.


https://www.msys2.org/

6. Click on Next button.


7. After Installing MinGW , a terminal will open shown in below.

8. Running the following command.


pacman -S --needed base-devel mingw-w64-ucrt-x86_64-toolchain

Right Click and paste the above command.


9. Press Enter and then Press ‘y’ for proceeding.
10. After Installation go to search bar and search environment variable. Click on path and
edit path. You enter the Path C:\msys64\ucrt64\bin

11. After edit the path click on ok button.


12. Open terminal and enter command the below commands.
gcc –version
g++ --verison

13. Open Vscode write a program and run the program and select the g++ compiler.

You might also like