I have a problem with some task. I need to write an derived class in which I need to be sure, that vector FVect cointains only characters <'a'; 'z'>.
class Something {
private:
char FVect[3];
protected:
virtual void setValue(int _idx, char _val) { FVect[_idx] = _val; }
public:
Something() {};
};
I don't know exactly how to write a method in derived class (without making changes in class Something) since FVect is private.
Thanks for help.