 
Opensource.com
 
The C++ std::cout, from the iostream library, prints text to the console. In C++ applications, cout is the new neighbor of printf. While using printf is still valid, you may prefer opting for cout. This programming cheat sheet covers common use cases of formatting when printing to console from C++.
File
              
          What to read next