So in this article, I’ll show you How you can compile your C/C++ code in windows. To compile C/C++ code we need GCC/G++ compile to compile the code but in windows don’t have like Linux terminal or mac terminal.
So what we can do, to compile your code in vs code we need an extension called C/C++ Compile Run extension.
To install it you need to open your vs code and goto extensions (shown in the below image ) and search for C/C++ Compile Run by danielpinto8zz6, install it.
Your 1 step is completed, now you need to install MinGW.
it is a free and open-source software development environment to create Microsoft Windows applications.
go to its official site in the navigation section download.
Click on download and it will redirect you to the download page and click on
The windows icon like shown in the below image after download install it.
2. The Unfortunate Power of Deep Learning
3. Graph Neural Network for 3D Object Detection in a Point Cloud
4. Know the biggest Notable difference between AI vs. Machine Learning
After successfully installation open MinGW Installation Manager.
It will look like the image. click on basic setup and click on all Packages and goto installation and click on Apply changes, it will take some after successfully applied.
You need to do one more thing is environment setup.
Open your System Properties and click on Environment Variables.
now select on System variables Path and click on edit.
now click on new and goto Browse and in C drive find the MinGW folder and select bin folder.