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

Published: 17 July 2024
on channel: 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/...


Watch video cerr and clog (buffered vs unbuffered) - Stream-Based IO part 2 of n - Modern Cpp Series Ep. 192 online, duration hours minute second in high quality that is uploaded to the channel Mike Shah 17 July 2024. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 1,079 times and liked it 73 visitors.