Skip to player
Skip to main content
Skip to footer
Search
Connect
Watch fullscreen
Like
Bookmark
Share
Add to Playlist
Report
2. Setup CodeBlocks and Settings
Technical Education
Follow
7/22/2024
2. Setup CodeBlocks and Settings
Category
ЁЯУЪ
Learning
Transcript
Display full video transcript
00:00
for practicing C++ program or developing applications in C++ you need some IDE
00:06
where you can type the program and compile the programs and also you need a
00:10
compiler so for a IDE we choose IDE that is code blocks so let us see how to
00:17
download code blocks open Chrome and say download code blocks so code blocks dot
00:27
o-r-g this is the URL so if you want you know that URL that so if you want you
00:33
can directly go to this URL that is code blocks dot o-r-g slash downloads here in
00:38
downloads three options are there that is download binary release or source
00:42
code and retrieve source code from subversion that is SVN we'll go to
00:47
binary release and here we have multiple options that is only setup file or no
00:55
setup just a zip or min GW setup or min GW no setup so you have to select min GW
01:06
setup this will download compiler as well as IDE so select this one go to the
01:12
website that is SourceForge for downloading it will start downloading
01:17
the setup file it's downloaded so let us start setup file here it starts
01:25
installation of code blocks say next and agree on and click I agree next then
01:40
here is a place where the code blocks will be installed if you want to change
01:44
the directory you can change and we'll start installation so it will extract
01:48
all the files of IDE and the compiler so do you want to run code blocks now so I
02:00
will say no and let us finish this one so next and it is finished it is
02:04
installed now let us open the code blocks yes now the code blocks IDE is
02:14
open now before we start using it before we start writing the programs we have to
02:19
make some settings here and these are one time settings so let us see what are
02:26
the settings we have to do go to menu in the menu at the end you will find
02:30
settings option select that one and go to compiler now this tab is open see
02:39
here right now if you see the language selected here is C++ 98 so there's a
02:46
older version so we should select a later version so that we can use all the
02:51
features that we'll be talking about in this course so that is C++ 11 select
02:57
C++ 11 this is one setting you have to change otherwise some of the features
03:03
that I'll be showing you will not work so you have to select C++ 11 then in
03:10
toolchain executables there's a tab above here and this was the compiler
03:15
settings right after selecting this go to the next tab here that is toolchain
03:21
executables here insert the resource compiler we have to select a compiler so
03:30
click on this one then here if you scroll down you will find GDB 32 so
03:37
select this compiler that is for debugger open it and say okay now what
03:45
is debugging will be looking at it in the next videos now I have to make one
03:50
more settings here so go to settings again now this time select debugger so
03:55
we have to enable debugger then only we will be able to debug the program so
03:59
debugger allow us to trace the program line by line more oftenly I'll be
04:03
tracing the programs so same way if you would like to do that in your IDE you
04:08
can do it here so select default okay once again I will come back so go to
04:15
settings and select debugger and here select default and here you have to
04:21
select the executable path so here click and again select the same file GDB 32
04:31
GDB 32 select this file open that's it say okay now you are ready with the
04:41
environment now we can use code blocks for writing C++ programs that are shown
04:46
in this course now I will show you how to create a new project and whatever the
04:51
steps I am showing you always follow those same steps for creating a new
04:55
project so for every program it's better you create a new project so let us see
05:00
how to create a new project so I can go to files and say new project I can start
05:07
a new project and the project type that you have to select is console
05:12
application and the language that you have to select a C++ and the project
05:18
name my first finish now here the project is created and the in the
05:28
sources this is a C++ file double click on it and this is the source code file
05:34
so here is already some code is written so you can type your own code in this
05:39
place and you can write all your programs here see already IO stream
05:44
header file is included and the namespace is also included here so using
05:49
namespace this hello world is displayed now you can write all your programs here
05:54
that is using this main function and you can write your own functions or classes
05:58
that will be learning slowly so let us see how to run so first you have to
06:03
build this one so compile say build this project build and run the program
06:07
so it displays hello world so that's it so this is how you can download and use
06:13
this IDE
Recommended
8:12
|
Up next
рдЙрд░рдг рдкреНрд░рдХрд░рдгрд╛рдд рд▓рд╡ рдЬрд┐рд╣рд╛рджрдЪрд╛ рдЖрд░реЛрдк рдХрд░рдгрд╛рд░рд╝реНрдпрд╛ рдиреЗрддреНрдпрд╛рдВрдирд╛ рд╢рд░реНрдорд┐рд▓рд╛ рд░рд╛рдЬ рдард╛рдХрд░реЗрдВрдиреА рд╕реБрдирд╛рд╡рд▓рдВ...
Technical Education
7/30/2024
4:01
CM Yogi on Love Jihad: рд▓рд╡ рдЬрд┐рд╣рд╛рдж рдкрд░ рдЙрдореНрд░рдХреИрдж | CM Yogi Big Decision | Religion change | рд╡рдирдЗрдВрдбрд┐рдпрд╛ рд╣рд┐рдВрджреА
Technical Education
7/30/2024
3:15
Bhopal News: рднреЛрдкрд╛рд▓ рдХреЗ рд▓рд┐рдП рдкрд╣рд▓реА рдЦреБрд╢рдЦрдмрд░реА, рдХреЛрд▓рд╛рд░ рдбреИрдо рдХреЗ рджреЛ рдЧреЗрдЯ рдЦреБрд▓реЗ, рд▓рдЧрд╛рддрд╛рд░ рдЬрд╛рд░реА рд╣реИ рдЭрдорд╛рдЭрдо рдмрд╛рд░рд┐рд╢
Technical Education
7/30/2024
4:18
#usa #america #canada #uk #love #newyork #instagram #california #travel #instagood #fashion #photography #australia #india #germany #trump #london #follow #dubai #france #europe #like #art #miami #florida #a #italy #unitedstates #nyc #music
Technical Education
7/30/2024
1:48
1. Install Compiler
Technical Education
7/22/2024
16:34
2. How Computers Works
Technical Education
7/22/2024
1:08
1. Fundamentals
Technical Education
7/22/2024
3:03
1. Instructors Note
Technical Education
7/22/2024
5:47
3. Demo - First Program
Technical Education
7/22/2024
5:22
3. Setup Dev-C++ and Settings
Technical Education
7/22/2024
6:42
3. Introduction to Number Systems
Technical Education
7/22/2024
6:10
4. Setup Visual Studio
Technical Education
7/22/2024
8:34
1. Skeleton of C++ Program
Technical Education
7/22/2024
5:00
How_Can_ISO9001_Help_Your_Business_Succeed
Technical Education
7/18/2024
1:00
Section_4_Introduction
Technical Education
7/18/2024
3:30
What_Is_A_QMS
Technical Education
7/18/2024
5:40
Clause_4
Technical Education
7/18/2024
5:12
Management_Responsibility
Technical Education
7/18/2024
8:55
Continual_Improvement
Technical Education
7/18/2024
7:10
The_PDCA_Cycle
Technical Education
7/18/2024
2:45
Quality_Manuel_Template
Technical Education
7/18/2024
9:29
Tips_and_Tricks
Technical Education
7/18/2024
2:37
Roll_Out
Technical Education
7/18/2024
5:45
Kaizen
Technical Education
7/18/2024
3:06
Learning_Outcomes
Technical Education
7/18/2024