C++ Control Structures, If Else and Switch-Case Statement | C++ Tutorials for Beginners #9
Вставка
- Опубліковано 19 вер 2024
- Download the best IDE for C, C# and C++: bit.ly/WholeTo...
►Source Code & Resources: codewithharry....
►This video is a part of my C++ playlist: • C++ Tutorials In Hindi
►For Doubt Solving, Brain Storming Sessions & guaranteed replies, join the channel membership here: / @codewithharry
►Click here to subscribe - / @codewithharry
►Checkout my English channel here: / programmingwithharry
Best Hindi Videos For Learning Programming:
►Learn Python In One Video - • Python Tutorial In Hin...
►Python Complete Course In Hindi - • Python Tutorials For A...
►C Language Complete Course In Hindi -
• C Language Tutorials I...
►JavaScript Complete Course In Hindi -
• JavaScript Tutorials I...
►Learn JavaScript in One Video - • JavaScript Tutorial
►Learn PHP In One Video - • Learn Php In One Video...
►Django Complete Course In Hindi -
• Python Django Tutorial...
►Machine Learning Using Python - • Machine Learning Tutor...
►Creating & Hosting A Website (Tech Blog) Using Python - • [Hindi] Web Developmen...
►Advanced Python Tutorials - • Intermediate/Advanced ...
►Object Oriented Programming In Python - • Object Oriented Progra...
►Python Data Science and Big Data Tutorials - • Python Data Science an...
Follow Me On Social Media
►Website (created using Flask) - www.codewithhar...
►Facebook - / codewithharry
►Instagram - / codewithharry
►Personal Facebook A/c - / geekyharis
Twitter - / haris_is_here
MINOR CORRECTION: It might be obvious but at around 7:00, I mistakenly said in flow that 0, 1 and 2 will be printed but only 0 will be printed since the if statement will execute only once!
I hope you are enjoying the course!
When will complete the course??
Kya yarr assi galti 😡😡
IF "You are not yet born"(14:52) hahahahahahaha..... what a condition .
@@themagical03 Ya. really funny!
yes u are a inspiration for me sir
harry 20 min videos is more helpful for me than a 90 min class and 3 hours lab in college.
Mai bhi manata hu
To Kya hua Bahi aap heavy programmer ban gaye?
Sach mein bhai
jo baat hy
Jbh
from start of this video to end of playlist only 17 hours, 15 minutes, and 58 seconds are left which is approx(3/4) of one day means you can also do it in a day , if you binge watch. It is just a motivation that 70 videos looks very scary but it is not. if you watch 3 videos a day you can complete C++ in just two weeks. I also lost control of this and thinked how long it will take but take it as a motivation guys 😌😌
bhai ye course poora complete hai ki nhi
Thanks for doing maths ❤ it's really a motivation
Thanksss a Lott bro I am studying in canada now and ur videos r making it lot easier ❤️❤️
I am glad I could help Asis :)
Harry bro thanks a lot 🙏
@@bhavyanavyadancechannel8276 you can take a course in unreal engine
@@bhavyanavyadancechannel8276 use c#
@@moneyheist9352 Humans are not machines. Maybe he had learnt some other language and shifting to c++. Think twice before you write on UA-cam.
Thanks bro aapki vajah se mere ko java script ka saara concept pta chl gyea mein software engineering kr rha hu university of calgary(Canada) so sometimes unki language mein difficult si lgdi hai programming lekin apne boht ache se smajeya mere thanks a lot sir😍
Harry ki 20-30 minute ki vadio bahut hi useful hai hamare 2.5 hours ke lab se thanks dear
Save this teacher at any cost he is the reason programming society is still alive
WTF
im sending missiles at your house
@@anuragrai9 😂
@@NAF__ i guess it was just a joke
@@anuragrai9hyperbole
i found your classes better than most other free class channels as you explain a lot more.
i wish you were professor in my Uni.... lots of students wouldve love you.... not every PHD can teach, thats for sure
In cpp there are three types of control structure
1. Sequence structure
2.selection
3.loop
Sequence structure is used to Execute statement in Sequence they are written
Selection structure has three types if statement else if ladder switch statement
In switch statement if break is not used then if one case is satisfied then after that all statement will be executed
Thanks for this course, Harry SIr! I can't thank you enough for this course & the new course on Data Structures and Algorithms. Keep up the good work!
Nice name bro
how was your learning journey??are you available now??
@@hasanmahmud4543 how was your learning journey bro??
Thanks Harry bhai....you teaching lot of thing than college's class🔥🔥❤️
Thanks....You so much...Sir hi...🙏🏻🙏🏻God bless you..🙏🏻🙏🏻
thanks a lot sir! great source of knowledge available free.
Thank You SIR G we really enjoy and learn from your lectures
Thanks for all the videos my basics are seriously getting cleared ,please upload the complete c++ language videos it would be our pleasure to get the complete c++ language learned form u sir .
Sir pls start artificial intelligence.
😂bhai आप bhi khud kuch karo
@@Jatherbhai ab tak toh inn bhai ka job lag gyi hogi 😮
better than my whole semester
What you are studing?
Harry sir thank you sooo much
Your videos are so helpful for coding, I completed c from your videos and now I started c++ it's too easyy to understand 😊
me tooo
i have started learning c++ with aman dhatarwal but i discontinue due to not understandable
and started following your lecture
thank you sir
aman bhaiya ka course jayada fast hai according to me
Lol we are in the same boat. I shifted to this course and I'm really happy with it.
@@sarthak3156 Because wo placement prep ke liye banaya hai.
@@silverpenetrator739 Hello, I wanted to know how are you doing wrt coding and stuff right now, is that fine if I ask?
wow it is a fantastic lecture. you are the great harry bhai!!!!
Thank You SIR G we really enjoy and learn from your lectures
Kindly complete this course.
#include
using namespace std;
Int main(){
for(int=i; i
This is literally a great source of knowledge available free.
awesome videos bhaiya...very helpful!
Write a C ++ Program. We have a day-to-day record of USD price in PKR for last 100 weeks. Find the week, which has a highest variation in PKR, while a base price is 160Rs = 1 USD. Also, find which week has the highest average USDprice
Sir Please Solve The Problem
just a gorgeous and helpful course
Thank you so much bhaiya ...helped a lott🥰🥰🤗🤗🤗😍
Please make detailed course on Data Structures and Algorithm those who want this please comment 🙏
Yes
Yes
I was requesting 8 months ago, now i know
do make it plzzz needed for clg 2nd year
@@anant-strong bro from where u studied plzz guide me i am in 2nd year and now i started learning language
You give quality videos, Sir.
yes yes
thankyou sir your tutorial is free of cost and very helful hai iskeliye
ek hi dil hai harry sir kitne bar jitoge
you are a part of god . keep teaching and we all love you
Bahut badhiya Harry bhai
Thanks Harry Bhai
Sir there is a mistake in the video...while giving the example for the if-else statement at around 7:00 you said that it will print 0,1,2...but if-else executes only one time so it will print only 0 on screen.
yes, I also thaught that!
well, yes that is a mistake rather it is an example of loop
Super video! I applauded for ₹40.00 👏
Thankyou for giving me such a good content
bhai 4:59 sec pe jo smjhaya smjh nhi aya thoda smjhayega ?
than you bhai for providing free knowledge
A mini Calculator using the if - else statements :
#include
using namespace std;
int main () {
int num1,num2;
double sum ;
int addtype ;
cout
great work sir thanks a lot
Bro practice ke liye koi excercise bhi dal do🗿
Instant click on the notification😎😎😎😎
Excellent tutorial thankyou 🙏
bhut ache se padhate ho.....
Sir iam studying in 11th now and your course will be soo useful till start of engineering
gandu jee padh le
Better than 3 hours class of programming.........
Sir thank you very very much
Thankq Soo much ❣️🙏
bhai 4:59 sec pe jo smjhaya smjh nhi aya thoda smjhayega ?
Thank you harry bhai
nice video
I like your video
Superb teaching skills
Else if-else statement and switch case programs are kind of same, right? What’s the difference in their functioning?
@@priyanshukumar6635 else if-else me false hone pr exit to nahi karta
Is video mein jab aap 50 age enter karo ge to wo pehli condition check kare ga, wo false hojay gi phir second condition check kare ga, wo bhi false hojay gi
And third condition bhi false hojay gi
At last, else ki waja se likha aa jay ga
You can come to the party
Abhi bhi difference nahi pta chala
The only difference is that in else if-else we can use logical operators but in switch case we cannot use logical operators............that is it
Thanks alot sir
Sir actually a question arised in my mind that cna a switch case statement be used inside the case of a initial switch case statement
You are great style to teaching. Thank you sir
your video is amazing,
Sir your video is really so good and so understandable.
I am facing one problem in VS code . When program is unsaved ,program runs but when i save this , program exit. How do i mend it??
Thank bhaiya I am enjoying your lectures 💯👌
There is best learing youtube chanel thnxxx you so much
thanks sir ji for amezing video god based you
Top class tutorial.
Hats off to your Efforts....
Thanks bhaiya your explanation has better understanding ❤️
The C++ Control Structurea are:
1) Sequence Structure.
2) Selection or Iteration Structure.
3) Repetition or Repetitive Structure.
Note:
It is not Loop Structure as In Repetitive or Repetition Structure it has a lot of branches including Loops and Switches and If else statement.
2:35
Thnks for ur my uni teacher didn't clear my concepts in 1 hour lecture, but your 20 min vedio is inuf ❤ 🇵🇰❤️
Hay I am 13 and if have written if elseif and else statement and there was no error, i have made a calculator also by watching your titoriol
To be very frank really interesting course
bhai 4:59 sec pe jo smjhaya smjh nhi aya thoda smjhayega ?
Thanks Teacher..😊😊
u are doing great work sir
Thank you Harry bhai! 🔥😊
Thanksss a Lott bro
Thanks harry bhai....for this lovely way explanation..😍😍
Thank you bhaiya ❤️
"you are not born yet" lol
😂
keep it up 👍
his ending theme sounds better at 1.5x speed.23:07
true
Thank you so much sir 👌👌👌👌👌👌👌👌👌👌👌👌👌
harry bhai apka course abtak follow karke me ek calcuator bana raha hoon par ap pls bata do ki kaise ye error fix kare: comparison between pointer and integer ('char' and
'const char *')
Thnx Sir for such great content 🔥❤️
Thank you ❣️
I am on day 9
I have understood all you code
Thank you
bhai 4:59 sec pe jo smjhaya smjh nhi aya thoda smjhayega ?
Thanks broo iam studying in london, your videos are very helpful and make easy to learning c++ Love u bro💞💞💞
Jay Hind 🇮🇳❤
Love from India Bhai 🥰😂😂
Jai hind 🇮🇳
Level ha brother ap ka
Sir problems and exercises pls.
So that u can test my learning
Use for loop
// Day-08
// Tutorial_09_Completed_(Thanks_To_cwh)
// 10-12-2022
Thanks bro I am studying from Europe and yor video make easier to me to learn c++
Really helpful
how calmly you teach sir.tqqqqqqqqqqqqqqqqqqqq
Thank you bro you are a good person.
I watching your all coding video and learn easily.
Thank you
Thank you so much
great work
Thank you sir your channel prove helpful for all of us may Allah give you success at every walk of life
You are our respectful teacher because we learn a lot of things from you
Sun bhai
very very helpful for beginners , thanx bro. very good work .
yesa video ko koi dislike kar hi nai sakta
very very imformative video
Sir you are the goat 🗣️🗣️
thanks for clearing my doubts.
harry you are a champion yar ... zaberdast yar
GOD BLESS YOU
Great bro
Aap mere real teacher hoo
Thank you so much harry bhai your videos are really helpful
Dhanyawad bahi
Op sirr !!