This question has already been answered:
- Namespace (using namespace std;) 5 responses
I'm just starting to delve into C ++. In different sources (yes, even different comrades), sometimes opposite things are advised, namely:
- it is better to always connect the namespace completely (
using namespace std;), - it is better to always include only those names that are actually used (
using std::string;).
How correct?