What is standard namespace? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is standard namespace?

5th Jan 2018, 1:17 PM
Shashwat Kumar Pani
Shashwat Kumar Pani - avatar
3 Answers
+ 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