cerr and clog (buffered vs unbuffered) - Stream-Based IO part 2 of n - Modern Cpp Series Ep. 192

Опубликовано: 17 Июль 2024
на канале: Mike Shah
1,079
73

►Full C++ Series Playlist:    • The C++ Programming Language  
►Find full courses on: https://courses.mshah.io/
►Join as Member to Support the channel:    / @mikeshah  

►Lesson Description: In this lesson we take a look at std::cerr and std::clog which write to the stderr file handle. These are also globally defined objects provided in the iostream header. These are important ways to write output to ensure that we log error messages. In this lesson we'll also cover buffered versus unbuffered output and why that matters for error handling code. Finally, I'll also talk about stdin, stdout, and stderr which belong to every process, and I'll show you how to redirect output on the terminal for logging purposes. As always, feel free to bring up any questions and discuss what you've learned!

►YouTube Channel:    / mikeshah  
►Please like and subscribe to help the channel!
►Join our free community: https://courses.mshah.io/communities/...


Смотрите видео cerr and clog (buffered vs unbuffered) - Stream-Based IO part 2 of n - Modern Cpp Series Ep. 192 онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Mike Shah 17 Июль 2024. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 1,079 раз и оно понравилось 73 посетителям.