0
C++ Scope Resolution Operator ?
can someone please explain this is simple English, and yes with an example. ? And please do explain the concept of classes and headers in C++. Since I come from JAVA with minimal our no prior knowledge of c++, its hard for me to understand this one.
1 ответ
0
A scope resolution operator can be thought about like simple member access (obj.foo()) operator, the only difference is that it accesses global data, rather than class members. It's used to access namespaces and static members (they are not really members in a regular way).
Namespaces are like folders. Look it up.
Classes are like classes in JAVA they just work (in part) different.