What does the using namespace std mean? I dont really understand. Thanks! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What does the using namespace std mean? I dont really understand. Thanks!

24th Sep 2016, 10:01 PM
Kevin
1 Answer
+ 1
The built-in C++ library (e.g. cout ,cin,string, vector, map,etc.)routines are kept in the standard namespace.To use this library you have to write std:: prefix constantly.But if you want to avoid this typing again and again,then you just to write "using namespace std" at the top of your source code.
24th Sep 2016, 10:27 PM
Rohit Khadse
Rohit Khadse - avatar