+ 1
Why should we use "using namespace std:"? Is it necessary
In certain books they don't mention about this function
3 Answers
+ 4
using or not using is of your choice.
if you not use using namespace std statement then while using methods of std namespace you have to explicitly define namespace name with scope resolution operator.
example:
std::cout
+ 4
You can use them Specifically too
like
using std::cout;
Now you can use cout normally but you have to use cin like std::cin>>value;
- 1
Are there any other functions like this in C++