+ 3
Scope resolution operator??
What does a scope resolution operator(::) do? It’s one of the only things in c++ i don’t exactly know.
2 Antworten
+ 6
Scope resolution operator is used when we want to use an object or namespace
For example: If we don't do (using namespace std;), we would need to add (std::) in every objects of standard libraries because std is the namespace of standard.
+ 2
CarrieForle thx