stop using std:: and use "using namespace std;" so you don't have to type std:: for every thing
I get your point but in my Experience of coding I haven't ran into that issue, and also what do you mean by avoiding name collision issues. The only name space I use is "namespace std" because "std::" is long to type and "namespace std"
only removes the need to type "std::" .
also can you please show my the collision issues I would like to see the issues and see what you are talking about
@manuel08 I mean, you're right that in projects that aren't large it's fine to use namespace std. In fact, I haven't really run across the issue either, but once you start working on huge projects it's best practice to keep the namespace in there. Obviously you can do whatever you want, but using namespace std basically removes the whole point of namespaces in the first place. here is a good resource that talks more about naming collisions if you're not really sure what I'm talking about. Again- you're right, it doesn't really matter that much.