" std::cout<<"------------"; " and also for cin " std::cin>>x; ". Why they accessed cout and cin like this way and what is this? Kindly explain in detail with detail of real reason.View more random threads:
- what is meant by concrete class in c++ 2011?
- char s1[] = "example"; char s2[20] = "another example"...
- what is program in C++ May 2011 ?
- how to insert a new node on AVL tree using double rotation?
- application softwares 2011
- But "cin" lines are not producing the results 2011
- what is difference between a constructor and over loaded...
- C++ Guessing Game include Number and ABC
- What is Function Overloading in C++
- Constructor for Composition of inherited classin c++ 2011
hrough namespaces we can group different entities like classes, object and functions under a single name. as a result the global scope is divided in sub scopes, each one with its own name.
Syntax:
namespace identifier{
Entities;
}
Std is a namespace, all the files that are in the standard library of C++ is declared under std namespace. That is why we have generally included the using namespace std; statement in all programs that used any entity defined in iostream.
Sponsored Links
There are currently 1 users browsing this thread. (0 members and 1 guests)