" 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:
- how can we write the postfix expression of 3 + 5 * 6 – 7 *...
- c++ linux ubuntu 10.04 help with GUI in c++ 2011
- Use of Inline Function in c++ 2011
- what is difference between friend class and friend alternate
- GUI for DOS
- why we use class in C++ May 2011 ?
- i take input from getchar(); function in program in C++ 2012
- Vector of stucts in c++ 2011-12
- keyword of c++ May 2011
- Difference b/w encapsulation and information hiding
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.
Sponsored Links
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.
There are currently 1 users browsing this thread. (0 members and 1 guests)