" 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 the information hidden within an object can be assessed...
- protected inheritance and abstract classes in C++ 2012
- Define Explicit and implicit in c++ 2011
- the uses of queues and stacks? the application of binery...
- Use of Inline Function in c++ 2011
- what is the difference between 1. Double Right-Left...
- compiler is compiling our source coad so course code is...
- omain knowledge and domain experts in c++ 2011
- declared one varibale char s1[10] but when i am inputing...
- Why we write main rgc,char**argv in C++ 2012
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;
Sponsored Links
}
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)