+ 2
Is it necessary to write using namespace std ?
1 Resposta
+ 12
it's not compulsory to declare namespace std, but then you must mention scope for every function/class/variables which belong to that namespace.
for example , if you don't declare namespace,
for every cout or cin u will say std::cout or std::cin