WTF IS STDIO.H, C++ has no STDIO.H. Use <cstdio> if you want to use good ol' C functions like printf and scanf ;)