C plus plus

I prefer using namespace std; Than using std::cout , in every line of code Which one is good for better and nice code please need help

11/5/2019 2:30:55 PM


10 Answers

New Answer


The video is kind of advance but the way you explained it I understand thank you for your time and consideration




Well those are not mine videos I just watch them to learn too 😁


using namespace is cleaner. also look into alias i think you will benefit from that utility.


Watch those two and you'll know what are namespaces and why you shouldn't use 'using namespace std' https://m.youtube.com/watch?v=ts1Eek5w7ZA https://m.youtube.com/watch?v=4NYC-VU-svE


using "using namespace std;" is better


I see a lot of "using namespace std is better" but according to pros, it isn't, like @nAutAxH AhmAd said. I think it's because it can confuse the compiler sometimes. But honestly, I'm still comfortable with "using namespace std".


Hello my name is karim


Hi @karim


🤭.. 😄 HI!!!