What is name space?
like
usenamepsace std? what this mean?
What is name space?
Hey @dhruvilcodes, since an update from C++14 you have seen codes having using namespace std;
It’s because it helps us to print statements on the console & also to take inputs. If you don’t use using namespace std then you have to write wrong statements which acts as a burden. Hope this would help you
what mean by this line “If you don’t use using namespace std then you have to write wrong statements which acts as a burden.”? I did not get this!
It’s long statements instead of wrong , sorry for that. Whereas you have to write std::cout << or std::cin >> whereas you can write cout and cin in place of that using namespace std
ok now clear thank you
Your welcome
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.