Why are we use the "using namespace std;" in the programm | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why are we use the "using namespace std;" in the programm

??

12th Sep 2017, 5:06 PM
Nikita Sonava
2 Answers
+ 3
All your codes like"Cout << text " is actually "std::cout << text " You can use namespace std so you will be able to omit the part "std::"
12th Sep 2017, 5:21 PM
keivan Ipchi
keivan Ipchi - avatar
+ 1
and the question is , why not trying to find out about it by removing that line ? what I mean is , don't be afraid to try , you not gonna die just because you temporarily or even permanently remove codes.. unless you removed crucial line said Copyrights later on..
12th Sep 2017, 5:33 PM
Mikhael Anthony
Mikhael Anthony - avatar