Why "using namespace std" can cause some problems

When you use “using namespace std” you don`t have to type “std::” before every command from that library, but when you use more than one library and two of them have the same prefixes it may prevent your code from executing correctly.

Privacy & Terms