Original Post
Hey,
how do I store pointers, so I can access them quickly ? I created a linked list. Then I derived my class ( class UNIT ) from this linked list so I can store a large number of UNITs.
That works so far. The next was that I wanted to make a list of selected units. I can''t use a linked list again, cause it would overwrite the first one. MFC offers a class called CList, but what I heard is that MFC should never ever be used in DirectX games. Though it would be good because it would ease pointer management a lot. Furthermore I dont understand the template stuff.
CList< what goes here ?, and here ?> SelUnits(100);
thx for your help