Lec 1: How to Install and Set Visual Studio Code and MinGW Compiler for C and C++ | C++
Tutorials
geeks4geeks has come up with a live course on full stack development designed by industry
export just to help you to learn how to develop an industry ready single page web applications
and apis using react and node. js. The course is best suited for students as well as working
professional and you will also get a certificate. writing in notepad it will give a feature of auto
completion like auto completion based on the programming language you 're using if suppose i
write like system i 'm using java system dot out something like this so rather than writing system
wrote out dot println you just write system like this and it will suggest you. It will also show you
the error if you have missed a semicolon or a bracket. to execute our programs we have to
download a. compiler as well and then we will set a path so the. compiler will download mingw.
mingw compiler right for c and c plus plus so both you can run c program and. c plus my
program so how to set for c plus with that also i 'll show you so both things will download and
install.
Sourceforge. net website would be open and click on download right now your download will
start shortly so now it is going to download my mingw but see it 's been downloaded i 'mongw.
org website from there also you can also download like this is mingw32 base this and this gcc g
plus plus right this one click on right click on this mark for installation right. below you will get
description see like objective c. compiler so this package provides mingw implementation
implementation of gnu objective c language. compiler. If you wish to compile programs written in
foreign language you can click it uh mark for installation you can install it this is also optional
component. G plus plus is not recognized if you write g plus plus and if you want to check the
version dash dash dash v e r s i o and version now it is giving the version 6. 3. 0 now we have
set the path this thing is very important right now. Now we will go to our visual studio code.
If you write something like hash include i o s d r e a m right like this it is not showing us like after
i have to write down the complete thing by yourself but if you install the extension the c and c
plus plus extension then what is the difference let me just show you see you see now from you
can also so the you know see the recommendation from here. How to run this program can be
run directly in the terminal. How to resolve this error you just have to write std and the scope
resolution operator right now it will not give any error right now just ctrl s save it. detail when we
will discuss the structure of the program right only one time we have to include this i o stream.
Go to the bottom and just check this box for runner run in terminal in integrated terminal it will
run now now if again i 'll run this see it is now running in the terminal it is showing without
putting terminal not on the output screen right and some other settings are also there one by
one will when whenever we move proceed in the sports according to our requirement. We will
discuss the structure of c plus plus program in next note
Tutorials
geeks4geeks has come up with a live course on full stack development designed by industry
export just to help you to learn how to develop an industry ready single page web applications
and apis using react and node. js. The course is best suited for students as well as working
professional and you will also get a certificate. writing in notepad it will give a feature of auto
completion like auto completion based on the programming language you 're using if suppose i
write like system i 'm using java system dot out something like this so rather than writing system
wrote out dot println you just write system like this and it will suggest you. It will also show you
the error if you have missed a semicolon or a bracket. to execute our programs we have to
download a. compiler as well and then we will set a path so the. compiler will download mingw.
mingw compiler right for c and c plus plus so both you can run c program and. c plus my
program so how to set for c plus with that also i 'll show you so both things will download and
install.
Sourceforge. net website would be open and click on download right now your download will
start shortly so now it is going to download my mingw but see it 's been downloaded i 'mongw.
org website from there also you can also download like this is mingw32 base this and this gcc g
plus plus right this one click on right click on this mark for installation right. below you will get
description see like objective c. compiler so this package provides mingw implementation
implementation of gnu objective c language. compiler. If you wish to compile programs written in
foreign language you can click it uh mark for installation you can install it this is also optional
component. G plus plus is not recognized if you write g plus plus and if you want to check the
version dash dash dash v e r s i o and version now it is giving the version 6. 3. 0 now we have
set the path this thing is very important right now. Now we will go to our visual studio code.
If you write something like hash include i o s d r e a m right like this it is not showing us like after
i have to write down the complete thing by yourself but if you install the extension the c and c
plus plus extension then what is the difference let me just show you see you see now from you
can also so the you know see the recommendation from here. How to run this program can be
run directly in the terminal. How to resolve this error you just have to write std and the scope
resolution operator right now it will not give any error right now just ctrl s save it. detail when we
will discuss the structure of the program right only one time we have to include this i o stream.
Go to the bottom and just check this box for runner run in terminal in integrated terminal it will
run now now if again i 'll run this see it is now running in the terminal it is showing without
putting terminal not on the output screen right and some other settings are also there one by
one will when whenever we move proceed in the sports according to our requirement. We will
discuss the structure of c plus plus program in next note