Using the std::cerr object for error output
Working with character-based streams in C++
Reading and writing binary data with streams
Using the std::cout object for output
Using the std::cin object for input