I was reading some article about c functions and i don't know c++. I came to an operator that looked like two colons ::, and i couldn't find it in my book about C. Is it a C++ operator?
thanks
- Ytaipsw
Printable View
I was reading some article about c functions and i don't know c++. I came to an operator that looked like two colons ::, and i couldn't find it in my book about C. Is it a C++ operator?
thanks
- Ytaipsw
yes its called the scope resolution operator - used with classes
and is not part of C syntax
Yes. I don't remember its name but it is used when defining elements of a class (includes static variables) or to access elements of a namespace. I think it's called the scope resolution operator or something like this.
sweet
thanks!
-Ytaipsw