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

Why we use using namespace std;...?

24th Nov 2016, 4:13 PM
pia arora
pia arora - avatar
2 Answers
0
To state it simple, using namespace std is necessary in order to use commands like cin and cout, which are simpler than printf.
24th Nov 2016, 5:23 PM
Miltiadis Siavvas
0
what happen if we dont use this line in a program ...?? i made many program without this line ......?
26th Nov 2016, 8:53 PM
pia arora
pia arora - avatar