Hi this is Anil from Learning Lad and welcome to another video tutorial on C programming
language.
now in this video we will see how we can download and install the code blocks IDE and then we
are going to see how we can configure this code blocks IDE along with the mingw.
so in the previous video we have seen how we can download and install the MinGW.
Now here this code blocks is one of the IDE, which allows us to write and execute C programs.
I chose this code blocks ide just because it is freely available and the it is having
less size in below 100 MB and also it is available for all the platforms, Windows Mac and LINUX.
now you can use any available to you to write and execute the programs in C programming
language.
so now to download and install is code blocks Ide you need to open up any of the browser
which you have and once you open the browser, in the address bar you need to type in codeblocks.org
and then hot the enter button and it will open up the code blocks website and here you
guys can see it says this is an open source cross platform free C C++ and fortran IDE
and here we are just gonna see you know how we can install it.
so we are going to go to this download section.
click on this downloads option and we will be downloading and installing the binary release.
so select this binary release, which means you know we are going to download the setup
files.
so just click on this.
now as I said before this code blocks is available for all the three platforms.
so you guys can select your platform and download and the here I'm gonna be downloading this
for Windows operating system.
now with this code blocks IDE you have the option of installing this code blocks IDE
alone or you can install the code blocks IDE along with mingw.
now in this video I have downloaded and installed the mingw.
that's why I'm not going to be doing that again so so I will just download and install
this code blocks ide.
now if you haven't installed the mingw in your computer, then you can go for this code
blocks IDE along with the mingw.
You guys can see this here, codeblocks 16.01 which is the latest version available as of
now along with the MinGW setup.exe
you need to download this one, if you haven't installed the MinGW already.
now I have already installed the MinGW and that's why I will go for this IDE only.
so I will download this codeblocks 16.01 setup and I will download it from sourceforge.
so I'm not Akon this sourceforge.net here and it will take me to the sourceforge website
and download will start.
now I just have to wait for this download to finish.
all right now the download has been finished and now let's open up the downloaded file.
my downloaded file is stored in the downloads folder.
so I'm going to open up the downloads folder and you guys can see the codeblocks setup
exe.
just double click on that to install it And if it wants any permission, then give the
permission.
Let me just close this window here.
now here click on this next and you know you can read your all the licence agreement and
after that click on I agree, then select all this things and click on next and then you
know the code blocks will be installed in this location Which is mentioned in here.
That is the default location.
if you want to change you can change it but I'm gonna keep it as it is and then I'm on
a click on this install.
now it says do you want to run codeblocks, i will click on this YES and then i'm gonna
select this installation and click on next and click on this finish.
now the codeblocks will launch and it will detect the compiler that we have installed.
so you guys can see it detects this is GNU GCC compiler which we have installed in the
previous tutorial and also if you have installed this code blocks along with the MinGW then
I will see this compiler here.
you need to see that your compiler has been detected here.
Once it is been detected, click on Ok and the code blocks will launch and it says do
you want to associate c and C plus plus source files with this codeblocks IDE.
Now i just click on this no.
Leave everything as it is and then click on Ok.
now we have downloaded, installed and set up this code blocks IDE along with the mingw,
which has installed the GCC compiler.
so let's just check out that everything has been set up properly.
so for that purpose click on this create a new project.
select console application and click on go and then click on next and select 'C' here
then click on next then select the location where you want to save your project.
so just gonna store that in my documents folder and then ok.
you can I know make any folder in here and then you need to give project title.
so I just wanna say test and then i'm gonna click on next and select all these things
as it displays and then click on finish.
now here you guys can see management Window.
just click on this Plus sign it will not show this main.c.
just double click on this file and it will open up here.
now you need to go to build and then build and run.
now if you see this window and if you see this hello world here then it's going to mean
that you have set up everything properly and you can start writing the programs in C and
C plus plus programming languages.
So this is it guys this is how you guys can download and install the code blocks IDE and
set it up with MinGW and thank you for watching.
if you thinkthat this video will help any of your friends, then do share this video
and if you like this video then give a thumbs up and if you want to watch more tutorials
then subscribe to my channel and once again thank you and I'll see you next tutorial.
Không có nhận xét nào:
Đăng nhận xét