A very basic question:
In the standard c++ structure, every .cpp file looks like this:
MyClass::MyClass() ...
MyClass::~MyClass() ...
MyClass::function1(...
MyClass::function2(...
MyClass::function3(...
It looks redundant to reiterate the "MyClass::" every time.
I tried different ways to use namespaces for this, without success.
It there any way to telll the compiler that from this to that point, everything I implement belongs to a certain class?
I'll be glad for any insight into the question of classes and namespaces relations (even the syntax "::" is the same!)
Thank you
Gidi