to mix C and C++ IO operations must be synchronized if both are to be used in same program
C uses stdio IO streams,stdin, stdout, stderr
C++ has iostreams, including cin, cout, cerr, clog

std::ios_base::sync_sith_stdio
