0
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.

  • 4
    _"I'll have to type in std:: for every name I use in the namespace std."_ Um, no. If you want to write other `using` statements for symbols other than `std::cout`, you can... – Lightness Races in Orbit Dec 21 '15 at 16:22
  • 5
    @Briefcase - Consider this: If `using namespace std` was such a great idea, why bother to put the standard library in a namespace to begin with? – Bo Persson Dec 21 '15 at 16:30

0 Answers0