C++ switch tutorial (#7) 🔀

  Рет қаралды 5,970

Bro Code

Bro Code

Күн бұрын

Пікірлер: 19
@BroCodez
@BroCodez 4 жыл бұрын
#include #include using namespace std; int main() { /* //--------------------- Example 1 --------------------- int month; cout > month; switch (month) { case 1: cout
@tomaszkarolak6179
@tomaszkarolak6179 3 жыл бұрын
The best tutorials, I've ever seen on YT, thx bro!!!
@smallpcgaming7279
@smallpcgaming7279 3 жыл бұрын
#include #include using namespace std; int main() { int (ram); cout > ram; switch (ram) { case 1: cout
@BroCodez
@BroCodez 3 жыл бұрын
32 or bust!
@powarito1337
@powarito1337 Жыл бұрын
And when a person write, for example, 3, 5, 11, 15, switch case will be default: "u dumb?. I said between 1 and 32", but these numbers are in range 1-32.
@loraxthegrey6723
@loraxthegrey6723 2 жыл бұрын
Can't you just use "return 0" instead of "break"? I tried and it worked just fine, can someone tell me if it messes up something else in the code?
@sihleebuthelezi9231
@sihleebuthelezi9231 2 жыл бұрын
Bro switch statements don't seem to work for strings
@MackowyPoress
@MackowyPoress 9 ай бұрын
Did u write include(string)
@Solo_forever562.
@Solo_forever562. Жыл бұрын
done
@solace895
@solace895 3 жыл бұрын
It is always pizza month bro... I like the way you teach, keep up the good work!
@prumchhangsreng979
@prumchhangsreng979 2 жыл бұрын
My C class is going to start next week monday, and here I am alr finish all ur C video, and wandering around in C++ lol. And my C++ class start in next 2month. i cant lol
@shahdx0x
@shahdx0x 6 ай бұрын
You are a life saver bro.
@mateusmachado3744
@mateusmachado3744 Жыл бұрын
// Informs the country where a city is located using switch #include int main() { int city; while (city < 1 || city > 6) { // Prompt user for city std::cout city; // Return the city's country switch (city) { case 1: std::cout
@WushuAII
@WushuAII 3 жыл бұрын
Really good work bro! I will recommend you to everyone! Bik love! wish you the best!
@Jaxen18
@Jaxen18 2 жыл бұрын
luv u bro
@tedchiu1433
@tedchiu1433 3 жыл бұрын
Thank you Bro !!
@baovogia6782
@baovogia6782 2 жыл бұрын
thanks alott Bro
C++ if statements (#6) ❓
14:05
Bro Code
Рет қаралды 7 М.
C++ useful string functions (#8) 🧵
16:22
Bro Code
Рет қаралды 44 М.
РОДИТЕЛИ НА ШКОЛЬНОМ ПРАЗДНИКЕ
01:00
SIDELNIKOVVV
Рет қаралды 2,9 МЛН
Ozoda - Lada ( Official Music Video 2024 )
06:07
Ozoda
Рет қаралды 18 МЛН
Learn C++ With Me #12 - Switch Statement
8:02
Tech With Tim
Рет қаралды 21 М.
C++ while loops (#11) 🔄
10:43
Bro Code
Рет қаралды 10 М.
C++ for loops (#12) ➰
11:15
Bro Code
Рет қаралды 11 М.
Negative Time is Real, Physicists Confirm. Kind Of.
6:59
Sabine Hossenfelder
Рет қаралды 21 М.
C++ nested loops (#13) ➿
10:03
Bro Code
Рет қаралды 30 М.
Meta Has Changed The Game.
10:17
DiscoVR Tetiana
Рет қаралды 6 М.
Input File Streams in C++ (Reading from Files)
10:17
Programming with Dr. Hayes
Рет қаралды 34 М.
C++ arithmetic and quick math (#5) 🧮
17:11
Bro Code
Рет қаралды 4,2 М.
C++ pointers (#18) 👉
7:56
Bro Code
Рет қаралды 10 М.
C++ object oriented programming (#21) 📦
10:02
Bro Code
Рет қаралды 7 М.
РОДИТЕЛИ НА ШКОЛЬНОМ ПРАЗДНИКЕ
01:00
SIDELNIKOVVV
Рет қаралды 2,9 МЛН