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: [ Ссылка ]
Entire Object-Pascal step-by-step guide - free download here: [ Ссылка ]
🚀📈💻🔥 My Practical Programming Course: [ Ссылка ]
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.
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 📸 - [ Ссылка ]
Twitter 🐦- [ Ссылка ]
Ещё видео!