C++ got printf and scanf from C. I would say cout and cin is recommended in C++.
None of the standard headers have a .h extension so <iostream> is correct. Some old compilers force you to use <iostream.h> but then it's probably better to switch to a more up-to-date compiler.
printf("/n/nThis is a float %4.3f, /nThis is an int %d, /n/t This is a hex val %#x /n/n " a,b,c,);
and when using files, I can use the exact same formats with FSCANF & FPRINTF
Too, I can easily place these statements into subrt'ns for fast & quik debugging as flags to show, not only whare I am in the code, but also what the actual value of vars are ( rather than assumed values)