0
Std
why we use std
2 Answers
+ 1
its a namespace contained for input, output and others ...
0
The built inĀ C++Ā library routines are kept in the standard namespace. That includes stuff like cout, cin, string, vector, map, etc. Because these tools are used so commonly, it's popular to add "using namespaceĀ std" at the top of your source code so that you won't have to type theĀ std:: prefix constantly.