Why use std:: instead of using namespace std? I was recently told that I should use std:: in my header files as opposed to using namespace std but I don't really know why. Should I be using std:: in .cpp files as well? When is it acceptable to use using namespace std? I just seems like alot of extra typing.