Basic Structure / Parts of C++ Program (Urdu/Hindi)

  Рет қаралды 32,409

IT Series

IT Series

Күн бұрын

In this video, we will learn the basic structure / parts of C++ Program.
A program in C++ consists of the following parts:
• Preprocessor directive
• Main() function
• Program body (C++ statements)
Preprocessor Directives
Preprocessor directives are instructions given to the preprocessor. A program called the preprocessor reads the source code. The preprocessor searches for special lines that begin with the # symbol. These lines contain commands, or directives, that cause the preprocessor to amend or process the source code in some way. The preprocessor directives start with hash symbol #. These directives are written at the start of program. Include preprocessor directive is used to include header files in the program
main( ) Function
The main() function is the starting point of a C++ program. The control enters main() function and starts executing its statements when the program is run. Each program must contain main() function. Any number of statements can be written in the body of the main() function.
The statements of the program are written in curly braces. The curly brace { is called opening brace and } is called closing brace.These statements are collectively known as the body of a program. Each statement in C++ language is terminated by semicolon (;). It is called statement terminator.
Step by step explanation.
Easy to follow and understand.
www.itseriestu...
/ itseriestutor
#ITSeriesTutor #CPP #BasicStructure

Пікірлер: 39
@rohulamin496
@rohulamin496 3 ай бұрын
amazing and great lecture i nevere seen
@Socialsavvy-je6pk
@Socialsavvy-je6pk 8 ай бұрын
Very simple and nice
@SleepyFriedEgg-wy4hm
@SleepyFriedEgg-wy4hm 8 ай бұрын
Very nice ❤❤❤
@syedzaighamshuja6977
@syedzaighamshuja6977 3 жыл бұрын
Nice sir this lecture was amazing I learned each and everything through this 1st lecture👍🏻
@Medt8kf
@Medt8kf 8 ай бұрын
❤ Nice 👍👍
@SleepyFriedEgg-wy4hm
@SleepyFriedEgg-wy4hm 8 ай бұрын
❤ Excellent ❤
@learnskills1061
@learnskills1061 Жыл бұрын
amzing sir
@its_IqbalKhan
@its_IqbalKhan 9 ай бұрын
Amazing video explain very easy way me CSS/PMS ki tayari kr ra ha hoo or optinal subject me computer scinece he subject ap ki videos se bohat ziada help mili sir bundel of thanks
@AhmadAsif-mf2et
@AhmadAsif-mf2et 11 ай бұрын
Good 👍 best wishes are with you 💞
@humairakhattak9103
@humairakhattak9103 Жыл бұрын
Excellent work amazing
@5techtv915
@5techtv915 4 жыл бұрын
Good video
@talatwatu1458
@talatwatu1458 2 жыл бұрын
Nice lectures and a good tutur thanku sr
@sunoabdullah1709
@sunoabdullah1709 Жыл бұрын
Best nd amazingly explained 🥰😍
@beautifulanimal8113
@beautifulanimal8113 2 жыл бұрын
Great job sir you are great 😊
@saidaminkhan4107
@saidaminkhan4107 Жыл бұрын
Thanks A lot sir you clear my doubt. Thank you sir.
@mafiagameing.472
@mafiagameing.472 9 ай бұрын
Love u sir❤
@shahidmalik6107
@shahidmalik6107 4 жыл бұрын
excellent sir. i have a question. can we use return 1; or any other integer instead of zero. If yes then why we always use 0?
@icscomputer
@icscomputer 4 жыл бұрын
In Main function we must return 0 because, here returning 0 means a success message or in other words it stats there was no error in program execution. If we return 1 it will be considered an error "No line selected" and if we return a value greater than 1 indicates just an error. So in Main function, we must return 0 if we have used int before Main function.
@mahamgulzar6584
@mahamgulzar6584 Жыл бұрын
Zbrdst❤
@pandattv3857
@pandattv3857 6 ай бұрын
@Aitzaz1046
@Aitzaz1046 2 жыл бұрын
Good Lecture ✅
@saba846
@saba846 3 жыл бұрын
Wow Sir Your method of teaching is owesome
@mafiagameing.472
@mafiagameing.472 9 ай бұрын
Ma-sha-allah
@syedahira6429
@syedahira6429 Жыл бұрын
Excellent
@umarsajid4913
@umarsajid4913 2 жыл бұрын
very nice sir
@sananadeem5913
@sananadeem5913 2 жыл бұрын
Kindly share about the practicals of C++ programming
@ayeshamanzoor9150
@ayeshamanzoor9150 2 жыл бұрын
Great video
@basicphysics1520
@basicphysics1520 4 жыл бұрын
Awesome lectures
@iamalifawad
@iamalifawad 4 жыл бұрын
Sir, When I put return 0; dev c++ shows error but without return 0: It works fine.
@umermirza27
@umermirza27 Жыл бұрын
Sir data structures par video bnaye
@mahnoorgul3645
@mahnoorgul3645 2 жыл бұрын
Sir ek video data types used in c programs ke upar video bana dain
@ITSeriesTutor
@ITSeriesTutor 2 жыл бұрын
Watch our video on data types in C kzbin.info/www/bejne/iqfGZKSnq8pjbMU
@samreenperveez4557
@samreenperveez4557 4 жыл бұрын
A.O.A! Sir, Object and classes ko kasy creat krty hn??plzzz ak video is par b bana dny.
@rightway1159
@rightway1159 2 жыл бұрын
Mjhy aur details lecture chahyie kindly inform me
@rehananjum7024
@rehananjum7024 3 жыл бұрын
Nice
@singhji-hw4js
@singhji-hw4js 2 жыл бұрын
thank sir
@SaqibZaman-co5zx
@SaqibZaman-co5zx Жыл бұрын
👍
@unicornpopcorn3830
@unicornpopcorn3830 3 жыл бұрын
The music behind is so irritating...I am not watching just cuz of it
@danibutt7293
@danibutt7293 9 ай бұрын
kafi arsa se koi video upload nhi hui
How to Create, Compile & Execute a C++ Program (Urdu/Hindi)
13:03
Structure of C++ Program | C++ Tutorial  For Beginners  | C++ Tutorial #cpp
19:04
РОДИТЕЛИ НА ШКОЛЬНОМ ПРАЗДНИКЕ
01:00
SIDELNIKOVVV
Рет қаралды 3,7 МЛН
Which One Is The Best - From Small To Giant #katebrush #shorts
00:17
REAL 3D brush can draw grass Life Hack #shorts #lifehacks
00:42
MrMaximus
Рет қаралды 5 МЛН
Preprocessor directive and its types (Urdu/Hindi)
12:49
IT Series
Рет қаралды 8 М.
All about Programming Language - [Hindi] - Quick Support
10:05
Quick Support
Рет қаралды 224 М.
C_05 Structure of a C Program | Programming in C
21:14
Jenny's Lectures CS IT
Рет қаралды 1 МЛН
Basic Structure of C++ Program | In Hindi
9:39
codeitup
Рет қаралды 54 М.
Basic Structure of C++ Program (HINDI)
14:08
easytuts4you
Рет қаралды 1,4 МЛН
Master Pointers in C:  10X Your C Coding!
14:12
Dave's Garage
Рет қаралды 314 М.
Basic Structure of a C++ Program | C++ Tutorials for Beginners #2
19:09
CodeWithHarry
Рет қаралды 2,4 МЛН
Malware Development: Processes, Threads, and Handles
31:29
РОДИТЕЛИ НА ШКОЛЬНОМ ПРАЗДНИКЕ
01:00
SIDELNIKOVVV
Рет қаралды 3,7 МЛН