I hate to have to come on here without any code, but I am having trouble coming up with a plan of attack for a program I am working on. I am dealing with inheritance and class hierarchies. I will have a base class, CSequences, that will have a collection of none or more items. From this base class, I need to be able to directly or indirectly derive character strings, linked-lists, stacks, and queues. Of course, the hierarchy should have methods such as creating and destroying CSequences, adding objects and removing them from CSequences, etc. I do know that I will need to use virtual methods for insert and remove operations.
Anyway, I am not exactly sure how to go about implementing the base class. Any ideas? Any advice or pointing me to good online reference material would be greatly appreciated.