Search code examples
c++scope-resolution-operator

declaring scope resolution operator without including standart header


I Learn C++ programing and I was a beginner, and my question is can I use scope resolution operator without including Standart library? can someone help me?.


Solution

  • The scope resolution operator is as the name says, an operator, and is not part of any library but rather the basic syntax of the C++ language. It's hard to tell exactly what your issue is based off your question, but when you don't know what you're doing wrong it can be hard to find the right words to ask. Try reading Tutorials Point's article on namespaces, I find their tutorials very helpful and approachable for beginners https://www.tutorialspoint.com/cplusplus/cpp_namespaces.htm