What is mean of using nemespace std; | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is mean of using nemespace std;

plz told what does it mean

8th Jan 2017, 5:25 PM
Narayan Sharma
Narayan Sharma - avatar
3 Answers
+ 3
It means that we use std namespace. Std namespace contains some objects and variables such as cin, cout, endl... etc.
8th Jan 2017, 6:05 PM
Vladimir Honcharenko
Vladimir Honcharenko - avatar
+ 1
in C++11 we cannot simply use cout or cin they have to be used as std::cout and std::cin respectively so we use namespace std to shorten the job for us !!! namespace std also does some other works of shortening the repetitive operators !!! #SiD
8th Jan 2017, 9:34 PM
Siddharth Naithani
Siddharth Naithani - avatar
+ 1
thank you siddharth
24th Jan 2017, 4:06 PM
Narayan Sharma
Narayan Sharma - avatar