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

Why we must use using namespace std;

30th Oct 2016, 2:04 PM
HEMANTH KUAMR
HEMANTH KUAMR - avatar
3 Answers
0
because for cout, cin etc. you need to write std::cout std::cin etc with using namespace std you write only cout, cin
30th Oct 2016, 2:07 PM
Leo Flame
Leo Flame - avatar
0
txs mr.leo flame
30th Oct 2016, 2:12 PM
HEMANTH KUAMR
HEMANTH KUAMR - avatar
0
you're welcome :)
30th Oct 2016, 2:13 PM
Leo Flame
Leo Flame - avatar