I am learning C++ right now, and at the beginning of every project my instructor puts a line that says:
using namespace std;
I understand that it keeps you from having to call functions in headers you include with their header name like iostream::stdout and instead just call stdout.
But what exactly does the line tell C++ to do. What is a namespace and what is std?
I am also new to programming besides python so switching to a new paradigm is very confusing for me.
See Question&Answers more detail:os