Advantages to using the C++ I/O stream classes

Although input and output are implemented with streams for both C and C++, the C++ I/O stream classes provide the same facilities for input and output as C stdio.h. The I/O stream classes in the Standard C++ Library have the following advantages: