0

What is namespace?

i see 'namespace' every single program. what is that plzz explain.

6th Nov 2016, 1:38 PM
Saps Jain
Saps Jain - avatar
3 odpowiedzi
+ 3
namespace is the keyword of c++ use to include directives. (such as to include standard class libraries of ANSI C++ we write "using namespace std")
6th Nov 2016, 1:47 PM
Bhavya Singh
Bhavya Singh - avatar
+ 3
It is used to avoid writing std:: before every function from iostream. It shows you that you are using std class function. std means standard
6th Nov 2016, 2:20 PM
Aditya kumar pandey
Aditya kumar pandey - avatar
+ 1
thanks....
6th Nov 2016, 5:26 PM
Saps Jain
Saps Jain - avatar