+ 2
Why we are using ' using namespace std; in program?
5 odpowiedzi
+ 12
@ cohen cout, endl are objects, why?
+ 6
To put it short, it makes it so we don't have to put
std::
before every standard library object, such as cout, cin, or endl.
+ 2
@sm sajjad
They just are. They're just objects of the standard library. They're certainly not functions due to the absence of parentheses.
0
Thank bro
0
namespace are very useful to solve a problem with same names of classes and functions. It's can be a big problem sometimes (especially in big projects).