0

Guys wanted to ask what is name space std that is used before main ()

5th Jul 2017, 2:33 AM
Akshay Iyer
Akshay Iyer - avatar
2 Antworten
+ 5
Simply stated, C++ has lots of packages. So, "cout" are part of the "std" (standard) package. The statement "using namespace std" means that all called functions that aren't already defined will be called from std. Otherwise, you would have to say std::cout instead of cout.
5th Jul 2017, 3:01 AM
Keto Z
Keto Z - avatar
- 1
but dude:: symbol is used for scope resolution operator what is the reletion b/w them
5th Jul 2017, 4:52 PM
Akshay Iyer
Akshay Iyer - avatar