Is it good practice to use "using namespace std" | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

Is it good practice to use "using namespace std"

Please give your valuable comments on this. If that is not good then what and how to use.

18th Jan 2021, 10:07 AM
Giriraj Yalpalwar
Giriraj Yalpalwar - avatar
2 Respuestas
18th Jan 2021, 10:10 AM
Arsenic
Arsenic - avatar
+ 1
If you're not sure if functions form std namespace will colide with other functions, you can use for example "using std::cout;" instead of full namespace
18th Jan 2021, 1:22 PM
Michal Doruch