Skarr
08-06-2002, 06:05 AM
I have this problem:
I have a class (let us call it A). A contains a function called doit(). Every time I need to make doit() different, I have to make a subclass, and change it virtually. Is there a smarter way around this?
I have a class (let us call it A). A contains a function called doit(). Every time I need to make doit() different, I have to make a subclass, and change it virtually. Is there a smarter way around this?