0
Can any one tell me in c++ where we use namespace std and where we not use it ???
use of namespace std
8 Antworten
+ 2
Samrat✌✌ ,if you don't use it, you will not get details from std namespace...
other way to work without namespace is use std::cout , std::endl as per requirement rather than entirely loading namespace std
+ 2
Samrat✌✌ well you can define your own namespaces in c++, so if the need for that ever arises, you won't be only using std
+ 1
it's usually not used when you'll potentially be working with multiple namespaces, because things can get muddled up
+ 1
Samrat✌✌ all defined in namespace std... for example cout, endl
+ 1
ohh
+ 1
thanku hinanawi ☺☺☺
0
what kind of detail Ketan Lalcheta ???
0
lol i think there is only one std hinanawi 😂😂😂😂😂