using namespace std;
Most textbooks use using std::cout instead of using namespace std;. I'll have to type in std:: for every name I use in the namespace std.
using namespace std;
Most textbooks use using std::cout instead of using namespace std;. I'll have to type in std:: for every name I use in the namespace std.