Are you sure you've included the correct files like 'stdio.h' instead of 'iostream'? I'm asking because although they can be used in C++, 'printf' and 'scanf' are not actually C++. Other than that I've never managed to get code completion for C++ standard library, don't know why. Must be something related with settings.