Why people don’t always 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

Why people don’t always use « using namespace std »?

I’ve seen a lot of code without it. Is this better?

14th Aug 2018, 8:54 PM
Zbouby
Zbouby - avatar
2 Respuestas
0
Some people dont like it because they get confused by which library a function is from, so if they see std:: it means its from the standard library
14th Aug 2018, 8:57 PM
ReimarPB
ReimarPB - avatar
0
oh I see thank for your answers
15th Aug 2018, 7:50 AM
Zbouby
Zbouby - avatar