c++ completion working