"stdio.h" is a standard header from the C programming language.
<iostream> is a C++ standard header. It provides completely different classes and functions.
If you're coding in C++, and you feel that you simply must use something from "stdio.h", do not. Instead, use the C++ provided set of those function, in the header <cstdio>