+ 1

What is the importance of namespace std in c++

30th Apr 2021, 9:41 AM
Sampaul Jose
Sampaul Jose - avatar
2 Antworten
+ 1
Sampaul Jose So when we run a program to print something, “using namespace std” says if you find something that is not declared in the current scope go and check std. using namespace std; are used. It is because computer needs to know the code for the cout, cin functionalities and it needs to know which namespace they are defined.
30th Apr 2021, 10:20 PM
❤️😍Prerana😍❤️
❤️😍Prerana😍❤️ - avatar
0
I understood Thanks for your response
30th Apr 2021, 10:07 AM
Sampaul Jose
Sampaul Jose - avatar