Better Alternatives for ‘using namespace std’ in C++
Most new C++ programming students are taught to add “using namespace std” in the global scope after introducing the headers needed for their programs to compile successfully. As a result, students grow accustomed to engaging in this practice without realizing how bad it is. Including ‘using namespace std’ in the global scope is bad practice.
Better Alternatives for ‘using namespace std’ in C++ Read More »
