+ 1
C++ why std:: at every line instead of adding just once user namespace std;
I am wondering why some C++ programmers use std::: std::string name; std::cout << "What is your name?\n"; at every line instead of including just once the user namespace std;
1 Antwort
+ 2
Sabine if you include entire std namespace , it's more burden compared to limited access of making what is required at few lines... it's actually choice to do it either way