0

What is standard namespace?

5th Jan 2018, 1:17 PM
Shashwat Kumar Pani
Shashwat Kumar Pani - avatar
3 Réponses
+ 9
std is an abbreviation of standard. stdis the standard namespace. cout, cin and a lot of other things are defined in it. ( This means that one way to call them is by using std::cout andstd::cin.) The keyword using technically means, use this whenever you can.
5th Jan 2018, 2:56 PM
Abhivarshini Maddala
Abhivarshini Maddala - avatar
+ 12
#include<iostream.h>
5th Jan 2018, 3:33 PM
Abhivarshini Maddala
Abhivarshini Maddala - avatar
0
if std is for cout, cin etc. what is the function of iostream header
5th Jan 2018, 3:04 PM
Shashwat Kumar Pani
Shashwat Kumar Pani - avatar