Friday, 19 June, 2026г.
russian english deutsch french spanish portuguese czech greek georgian chinese japanese korean indonesian turkish thai uzbek

пример: покупка автомобиля в Запорожье

 

ENUMS in every programming language (All you need to know)

ENUMS in every programming language (All you need to know)У вашего броузера проблема в совместимости с HTML5

In this video, I’ll teach you everything you need to know about enumerations in every programming language.
By using enums you increase compile-time checking of your code and avoid errors that can happen by using invalid constants (numbers or strings). This is because enums let you define which values are legal to use.
You’ll also learn about the relationship between enums and loops, enums and functions, casting enums and handling user input, as well as iterating through enum elements and using an enum as a function parameter.
After watching the entire video you’ll be able to understand what are enums and apply this knowledge to any other programming language. This will help you to write cleaner code that will be easier to understand and maintain.

???? Download Visual Assist here: https://bit.ly/VisualAssistDownload
(Improves Visual Studio experience by quickly identifying and fixing code errors)

???? Learn how to solve problems and build projects with these Free E-Books ⬇️
C++ Lambdas e-book - free download here: https://bit.ly/freeCppE-Book
Entire Object-Pascal step-by-step guide - free download here: https://bit.ly/FreeObjectPascalEbook

☕ I recently created the option for you to buy me a coffee, so if you enjoy my content and find it useful consider that small gesture of gratitude for all the hard work that I put into these videos. That would mean a lot to me! ❤️❤️❤️
https://bit.ly/CodeBeauty_BuyMeACoffee
Of course, don’t feel pressured if you can’t, I will continue posting free educational content for you nevertheless. ????

Contents:
00:00 - What is enum?
02:53 - How to create an enum?
03:54 - Enums under the hood
05:21 - How to change the value of the enum member?
08:07 - Casting int to an enum (Handling user input)
11:13 - Make your first program with enums (+ tips to fix bugs)
14:10 - How to iterate through enum elements?
17:06 - Enum as a function parameter

Other courses mentioned in this video:
My top 5 Visual Assist features: https://youtu.be/so1o7AoP49A
Switch-case for beginners: https://youtu.be/ftlbkWiDQCE
Error handling with Try-catch: https://youtu.be/kjEhqgmEiWY
Do-while loop: https://youtu.be/HcBqJkegqpM

Add me on:
Instagram ???? - https://www.instagram.com/TrueCodeBeauty
Twitter ????- https://twitter.com/TrueCodeBeauty

Мой аккаунт