Загрузка страницы

What is system("pause") and why is it considered a BAD PRACTICE? C++ Programming

What is system("pause") and why is it considered bad practice?
In this video, I'll teach you how to pause your C++ console before it closes so that you can read the output in the console.
I'll explain three different ways to do this, and teach you about the system("pause") command and the problems that can occur if you use it.

📚 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

🚀📈💻🔥 My Practical Programming Course: https://www.codebeautyacademy.com/
Experience the power of practical learning, gain career-ready skills, and start building real applications!
This is a step-by-step course designed to take you from beginner to expert in no time!
💰 Here is a coupon to save 10% on your first payment (CODEBEAUTY_YT10).
Use it quickly, because it will be available for a limited time.

Download Visual Assist here: https://bit.ly/WT-CB
I use it to enhance the performance, features, and support for C, C#, and C++ development in Visual Studio.
Download Ultra Edit here: https://bit.ly/UE_CB
It is a powerful, secure text editor designed specifically for programmers.

☕ If you've found my content helpful and would like to support me, you now have the option to buy me a coffee or a cookie! It's a small gesture of gratitude that means a lot to me and helps me keep creating free educational videos for you. Use the link to make a contribution: https://bit.ly/CodeBeauty_BuyMeACoffee
However, please don't feel obligated to do so. I appreciate every one of you, and I will continue to share valuable content with you regardless of whether you choose to support me in this way. Thank you for being part of the Code Beauty community! ❤️😇

Contents:
00:00 - What is system("pause"), and why is it considered bad practice?
06:22 - Pause C++ Console App using cin.get()
07:56 - Pause C++ Console App with breakpoints
10:27 - Pause C++ Console App with Visual Studio "Start without debugging" option

Follow me on other platforms:
Instagram 📸 - https://www.instagram.com/TrueCodeBeauty
Twitter 🐦- https://twitter.com/TrueCodeBeauty

Видео What is system("pause") and why is it considered a BAD PRACTICE? C++ Programming канала CodeBeauty
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
10 марта 2021 г. 22:09:08
00:12:22
Другие видео канала
Switch case statement - C# programming tutorial for beginnersSwitch case statement - C# programming tutorial for beginnersHTML & CSS (2020) - Types of CSS selectors (selectors you must know) - Beginner courseHTML & CSS (2020) - Types of CSS selectors (selectors you must know) - Beginner courseC++ FOR BEGINNERS (2020) - For loop, How to calculate factorial of a number PROGRAMMING TUTORIALC++ FOR BEGINNERS (2020) - For loop, How to calculate factorial of a number PROGRAMMING TUTORIALEvents and Event handlers explained (C# OOP - Practical Programming Tutorial) - part 3Events and Event handlers explained (C# OOP - Practical Programming Tutorial) - part 3HTML & CSS - What is CSS? Introduction to CSS! Inline, internal and external - Beginner courseHTML & CSS - What is CSS? Introduction to CSS! Inline, internal and external - Beginner courseC++ FOR BEGINNERS (2020) - If/else statement, check odd/even number, flowchart PROGRAMMING TUTORIALC++ FOR BEGINNERS (2020) - If/else statement, check odd/even number, flowchart PROGRAMMING TUTORIALHow to swap values of two variables with or without a third variableHow to swap values of two variables with or without a third variableHow to detect errors and bugs in code? Explaining Memory Leaks in C++How to detect errors and bugs in code? Explaining Memory Leaks in C++What you should know about competitive programming? (while I play TERA) - CodeBeauty Talks (2020)What you should know about competitive programming? (while I play TERA) - CodeBeauty Talks (2020)C++ STL Introduction (for beginners) What is STL and STL main components?C++ STL Introduction (for beginners) What is STL and STL main components?C++ FOR BEGINNERS (2020) - How to nest loops, How to nest for and do-while loop PROGRAMMING TUTORIALC++ FOR BEGINNERS (2020) - How to nest loops, How to nest for and do-while loop PROGRAMMING TUTORIALClasses and Objects explained - OOP programming #shortsClasses and Objects explained - OOP programming #shortsC++ List (Real examples, Sorting a list, When (not) to use List, Detailed explanation, Step-by-Step)C++ List (Real examples, Sorting a list, When (not) to use List, Detailed explanation, Step-by-Step)DATA STRUCTURES Explained in 5 minutes! (for beginners) - Introduction to Data StructuresDATA STRUCTURES Explained in 5 minutes! (for beginners) - Introduction to Data StructuresArray of objects Algorithms - Search, Sort, Reverse, Max, Min, Custom methodsArray of objects Algorithms - Search, Sort, Reverse, Max, Min, Custom methodsC++ FOR BEGINNERS (2020) - Operators in C++ PROGRAMMING TUTORIALC++ FOR BEGINNERS (2020) - Operators in C++ PROGRAMMING TUTORIALC++ FOR BEGINNERS (2020) - ASCII Table, Program for ciphering text PROGRAMMING TUTORIALC++ FOR BEGINNERS (2020) - ASCII Table, Program for ciphering text PROGRAMMING TUTORIALDATA STRUCTURES - How to work with Lists? (C# for beginners) - Lists explained in 28 minutes!DATA STRUCTURES - How to work with Lists? (C# for beginners) - Lists explained in 28 minutes!What is STACK data structure in C++? What is LIFO? STL Stack explained in 14 mins! DATA STRUCTURESWhat is STACK data structure in C++? What is LIFO? STL Stack explained in 14 mins! DATA STRUCTURESHow to Learn Programming and Get A Job in 2021 WITHOUT a CS degree? - CodeBeauty TalksHow to Learn Programming and Get A Job in 2021 WITHOUT a CS degree? - CodeBeauty TalksC++ FOR BEGINNERS (2020) - Variables, Data Types, Overflow, Sizeof PROGRAMMING TUTORIALC++ FOR BEGINNERS (2020) - Variables, Data Types, Overflow, Sizeof PROGRAMMING TUTORIAL
Яндекс.Метрика