There shouldn't be a space between the namespace and the object name (namespace::object) So you should be using std::cout instead of std:: cout