Easy Programming - Beginner C++ Tutorial - The 'do while' loop (15)

preview_player
Показать описание
Today we learn the "do while" loop in C++. It is an alternative to the "for" and "while" loops and it can work the same way as the other two loops or work very differently depending on how you use it. It is very convenient and it is my favorite loop in C++.

The video shows you how to use the do while loop with characters, strings, and your basic integer counter controlled loop. Everything you can do with the do while loop can also be done with the regular while loop but this is also very handy to do. The for loop however is best as a counter controlled loop so I wouldn't recommend you try anything else with it.

I hope you enjoy the video and if you have any requests feel free to let me know. Thanks for watching and remember to subscribe!

#EasyProgramming #Looping

-----------
Рекомендации по теме
Комментарии
Автор

yo you are still helping people who have a hard time understanding this stuff out with these videos much love from florida

RionMusik
Автор

thanks for this tutorial! it really helped me with my project!!

bangbam
Автор

Thx this video really help me understand the do while loop.

Dvd
Автор

@MrMatt027 thanks :) glad you enjoyed it.

naztronaut
Автор

@Kamilk12l that'll be fine, if you also mean "not 2" then make sure the 'not equal to' operator is on that, otherwise it'll only run if it's not equal to 3 but is equal to 2. But if that's what you want, then it's perfect :)

naztronaut
Автор

everytime you write a script, don't you have to start with [THIS] n then the script?
for ex: this.<+float yard=feet>; .if this wrong ?, im confused....

highlevelthreat
Автор

PLEASE REPLY

Do you know how to just hit "y" (for example) and you don't have to hit enter? It just automatically continues?

omgflyingbanana
Автор

I'm the 6666th Not that it means anything

jeeecyang
Автор

@Kamilk12l while (feet !=(3 && 2))

naztronaut
Автор

Don't know of an easy to do that, sorry.

naztronaut
join shbcf.ru