KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am learning C++. cout is an instance of std::ostream class. How can I print a formatted string with it? I can still use printf , but I want to learn a proper C++ method which can take advantage of all C++ benefits. I think this should be possible with std::ostream , but I can't find the proper way.
Tags (comma-separated)
Save Edits
Cancel