+ 2
"using namespace std;" imports, i.e "makes available", all functions, structs and classes etc from the namespace std in the namespace the line is written in (in all cases here at SoloLearn the default namespace). Otherwise you would have to write "std::" before every element of the std namespace, e.g. std::cout, std::cin.
1st Jul 2016, 5:18 PM
Stefan
Stefan - avatar