Possible Duplicate:
Why is 'using namespace std;' considered a bad practice in C++?
I've seen some code examples where people use, say, std::cout
whereas in other places people will have using namespace std;
at the top for simplicity instead. Which is generally preferred?