+ 1

Hey Guys..i am studying class 11 and my teacher had not used usingnamespace std anywhere??

in this application everywhere there is the use of using namespace std so...!!???

26th Sep 2017, 8:04 AM
Gourav Singh
Gourav Singh - avatar
1 Answer
+ 1
You don't have to use namespace std. You can use any namespace. The advantage of namespace std is that std::cout can be shortened to cout, etc. For this reason it's considered​ easier for beginners to use namespace std, hense it's used on this app.
26th Sep 2017, 8:12 AM
Jared Bird
Jared Bird - avatar