Hello there, in this article we will be discussing about setting up our system for c/c++ development by using tools like VS code, gcc compiler etc…
We will start by first downloading the files that we need from the internet so make sure you are connected to the internet and then click on the following links:-
That's it now download both these files and install it simply by using their wizards/installers and it will be very easy too.
After you have succesfully installed both of the applications move to Step 2.
For setting up the environment variable go to
We are all done setting up, and if you followed it correctly move on to STEP 3 to confirm.
Fire up a terminal by typing "cmd" in your search bar and a window terminal should open and now just type
and if installation is correct, you should get something like this on your terminal
gcc gcc: error: unrecognized command line option ‘--v’; did you mean ‘--d’? gcc: fatal error: no input files compilation terminated.
with this we have succesfully set up our gcc compiler on our system and we are ready to tun C/C++ program on our PC.
If you face any problems following this article, feel free to ask me in the comments.
Thank you for Reading ☺️☺️☺️