Problems that happen by 'using namespace std'

When you type “using namespace std,” you are risking the fact that there could be a member of a different namespace that has the same spelling but in a different namespace, resulting in namespace clashing and not knowing what the member is supposed to do.

Privacy & Terms