Create A Menu Using A Switch Statement | C++ Example

  Рет қаралды 19,993

Portfolio Courses

Portfolio Courses

Күн бұрын

Пікірлер: 23
@nathansimelane562
@nathansimelane562 11 ай бұрын
Thank you so much for such a detailed lesson, you are a good teacher
@PortfolioCourses
@PortfolioCourses 11 ай бұрын
I’m glad you enjoyed it! :-)
@Avionics2
@Avionics2 2 жыл бұрын
I like the way you turn human language into computer language as you go. 👍👌
@PortfolioCourses
@PortfolioCourses 2 жыл бұрын
Cool! I'm glad you enjoy the delivery/format. 🙂
@robburkett9791
@robburkett9791 2 жыл бұрын
Great lesson. Clear and concise. Thanks so much!
@PortfolioCourses
@PortfolioCourses 2 жыл бұрын
You’re welcome Rob, I’m glad you found it clear and concise! :-)
@wallaceCharlieMekimo
@wallaceCharlieMekimo Жыл бұрын
wow! Very good eplaination
@PortfolioCourses
@PortfolioCourses Жыл бұрын
I’m glad you enjoyed it Wallace! :-)
@Awwe12675
@Awwe12675 2 жыл бұрын
I love ur channel
@PortfolioCourses
@PortfolioCourses 2 жыл бұрын
Thank you for the kind feedback! :-)
@qcnck2776
@qcnck2776 2 жыл бұрын
Very nice. Thanks!
@PortfolioCourses
@PortfolioCourses 2 жыл бұрын
You're welcome! 🙂
@amazighcoder9312
@amazighcoder9312 2 жыл бұрын
Great Lesson
@PortfolioCourses
@PortfolioCourses 2 жыл бұрын
Thank you I'm glad that you enjoyed it! :-)
@benceszabo8825
@benceszabo8825 Жыл бұрын
If I enter a letter it breaks. Is there a solution for that?
@PortfolioCourses
@PortfolioCourses Жыл бұрын
Great question Bence! :-) So one thing you could do is accept the input as a string instead of an int. Then, you could check to make the string contains an int using one of these methods: www.techiedelight.com/determine-if-a-string-is-numeric-in-cpp/. If the string does not contain an int, you could output an error message like "menu option must be an integer" or something. If the string does contain an int you could convert it to an int using this method: kzbin.info/www/bejne/l2WWg2iNd9hlsLM. And then you could use the int as we do in this example from there to decide which menu option code to run. Hopefully this helps! :-)
@benceszabo8825
@benceszabo8825 Жыл бұрын
@@PortfolioCourses thank you
@PortfolioCourses
@PortfolioCourses Жыл бұрын
You’re welcome! :-)
@hannilouie
@hannilouie 2 жыл бұрын
hi sir, can you make a video about the 4 types of recursion?
@PortfolioCourses
@PortfolioCourses 2 жыл бұрын
A video on different types of recursion is a good idea, I'll add that to my video idea list. :-)
@ManOwaRR1
@ManOwaRR1 Жыл бұрын
Hello Thanks for the videos , can we have a tutorial how to do a search inside a file and grab any words inside any position in a string in details , thank you so much :)
@PortfolioCourses
@PortfolioCourses Жыл бұрын
You're welcome Elie! :-) Thank you for the video idea too, but I'm not sure I 100% understand what you're describing. Are we searching for all words in the file? Or a certain word? Is the problem you are thinking about written down anywhere online that I could take a look at maybe?
@poisonmods
@poisonmods 2 жыл бұрын
Mmmh
Rectangle Area Calculated Using User Input Values | C++ Example
6:46
Portfolio Courses
Рет қаралды 2,7 М.
Vampire SUCKS Human Energy 🧛🏻‍♂️🪫 (ft. @StevenHe )
0:34
Alan Chikin Chow
Рет қаралды 138 МЛН
-5+3은 뭔가요? 📚 #shorts
0:19
5 분 Tricks
Рет қаралды 13 МЛН
why are switch statements so HECKIN fast?
11:03
Low Level
Рет қаралды 439 М.
Master Pointers in C:  10X Your C Coding!
14:12
Dave's Garage
Рет қаралды 341 М.
Is C BETTER than C++ for beginners? // Code Review
31:16
The Cherno
Рет қаралды 92 М.
15 Years Writing C++ - Advice for new programmers
4:04
SyncMain
Рет қаралды 1,3 МЛН
I made Tetris in C, this is what I learned
15:15
Austin Larsen
Рет қаралды 29 М.
Create A Menu Using A Switch Statement | C Programming Example
7:34
Portfolio Courses
Рет қаралды 35 М.
Loops in C++ (for loops, while loops)
12:20
The Cherno
Рет қаралды 423 М.
Learn Any Programming Language In 3 Hours!
22:37
Code With Huw
Рет қаралды 632 М.
Vampire SUCKS Human Energy 🧛🏻‍♂️🪫 (ft. @StevenHe )
0:34
Alan Chikin Chow
Рет қаралды 138 МЛН