+ 11

What is the meaning of using namespace in iostream library??

Using namespace std;

24th Jun 2019, 4:22 PM
vikram Kumar
vikram Kumar - avatar
2 Respuestas
+ 8
Using namespace std Std means "standard". When you want to use terms like cin and cout, it would be easier if you put "using namespace std" at the beginning and you can use it as usual. Else, whenever you want to use cin and cout,you have to write it this way : std::cin and std::cout. You can try refering here : https://stackoverflow.com/questions/18914106/what-is-the-use-of-using-namespace-std
25th Jun 2019, 7:12 AM
Joey Lim
Joey Lim - avatar