" 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 the concept of having the data member of the same...
- I use multi dimensional arrays in a program
- how stack operation proves costly during traversing a tree
- what is the differnce b/w overriding and abstraction in c++...
- Linked list using arrays?
- What is difference among Binary Tree, Complete Binary Tree...
- What does it mean command line? in C++ 2012
- in abstract classes where abject donot extensiate,why we...
- oop an procedral programming 2011
- Constants in C Language 2011-12
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)