" 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:
- Call by Value in c++ 2011
- floor conversion error in c++ 2011
- check for empty vector in c++ 2011
- what is difference between Data Members and Members...
- A partial specialization may inherit from a complete...
- how can i mail you the snapshot of compiled files.in C++...
- Is there Any difference b/w Object Oriented ProgrAmming And...
- Wht is the use of Inheritnce in OOP?
- is there anything else like winzip wizard to run the...
- Linklist Data Structure
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:
Sponsored Links
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.
There are currently 1 users browsing this thread. (0 members and 1 guests)