+ 2
namespace
what is namespace std?
5 Respuestas
+ 6
A namespace is a collection of libraries.
In the namespace std all standard methods like cin and cout are gathered.
Using namespaces avoids naming conflicts
https://www.learncpp.com/cpp-tutorial/naming-conflicts-and-the-std-namespace/
Comment out "#using namespace std" and discover which library functions have gone missing
+ 4
If you remove "using namespace std;" after #include <iostream>, then you should use #iostream content, such as cin, cout, string and endl as std::cin, std::cout, std::string and std::endl.
+ 2
Imagine physically
You want to select a book with a specific theme from a library
If you know the shelf you want, you can access that book faster
NAMESPACE Specifies what bookshelf you are considering in <iostream> library
To make your program run faster
0
Hi
I want learn a brograming
and I dont nown from where started
can you help me please.
0
C++