'using namespace std' bad practice fix #programming #robotmaze #c #C

preview_player
Показать описание
Why is using namespace std a bad practice in C++ and what is the most efficient alternative? #programming #robotmaze #C++
Рекомендации по теме
Комментарии
Автор

Better yet: Just write a print function and abstract that away.

Finkelfunk
Автор

I'am a newbie in terms of programming, i usually used using namespace std; for naming like for cout and cin to make it more easier and clean..

However lots pro programmmers advice that do not use using namespace instead use specific std like the one you've shared

But i really don't know where those using name space std exactly conflicts of, idk cause i've never encountered them.. can you give as exact example of using namespace std conflicts ?

That would very appreciated ❤️

jonathanvioleta
welcome to shbcf.ru