Here is my problem. I want to have something like this:
class A {
protected:
int someInt;
virtual void someFunc() = 0;
};
class B : public A {
protected:
virtual void someFunc() {
public:
B() {
};
so basically, someInt can be changed, it is not constant, but I want all classes that implement A to use the value provided by A for someInt.
thank
source
share