0

Std

why we use std

10th Nov 2016, 6:16 PM
mustafa hk
mustafa hk - avatar
2 odpowiedzi
+ 1
its a namespace contained for input, output and others ...
10th Nov 2016, 6:48 PM
𝐹𝓇𝒶𝓃𝓀𝓎 𝐵𝓇𝒶𝒾𝓃𝐵𝑜𝓍
𝐹𝓇𝒶𝓃𝓀𝓎 𝐵𝓇𝒶𝒾𝓃𝐵𝑜𝓍 - avatar
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.
10th Nov 2016, 6:56 PM
Abdelaziz Abubaker
Abdelaziz Abubaker - avatar