►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/...
Смотрите видео std::cout - Stream-Based I/O part 1 of n - Modern Cpp Series Ep. 191 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Mike Shah 12 Июль 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1,22 раз и оно понравилось 6 людям.