For beginners new to c++, it is okay to do “using namespace std” since the focus is learning the concepts, and having to type std:: every time is tedious. However when you work on much bigger projects with more code, there’s a chance of naming conflicts. Two functions from different libraries and modules can have the same name, so you would use the qualifiers to distinguish where the function is coming from. In my later videos I go over some examples where the naming conflicts can occur. Once I start my next series which is object oriented programming in c++, we will stop using namespace std.
I love you Kenny
I love him more
i love you too
Hello sorry to ask but my must we use the std qualifiers
For beginners new to c++, it is okay to do “using namespace std” since the focus is learning the concepts, and having to type std:: every time is tedious. However when you work on much bigger projects with more code, there’s a chance of naming conflicts. Two functions from different libraries and modules can have the same name, so you would use the qualifiers to distinguish where the function is coming from. In my later videos I go over some examples where the naming conflicts can occur. Once I start my next series which is object oriented programming in c++, we will stop using namespace std.