►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::cout, a globally defined object that has been around for a long time in C++. But why do we still need it if we have std::print in C++23? Certainly for legacy code it is useful -- but in this lesson I try to explain that std::cout is a 'stream' type that allows us to write out information. We can build our own useful abstractions with this type, and thus it is just a different model for writing out data. You can still use it with things like std::format to get the best of both worlds as well. Let me know which you prefer and the trade-offs you have heard between std::cout and std::print! 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 std::cout - Stream-Based I/O part 1 of n - Modern Cpp Series Ep. 191 online, duration hours minute second in high quality that is uploaded to the channel Mike Shah 12 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,225 times and liked it 68 visitors.