Click to See Complete Forum and Search --> : CList in a CList


elvy
March 31st, 1999, 07:42 PM
Hi there,

I'm using VC6.0++ and would like to implement a 2 dimensional CList


Is there anyway to implement this, and how do I do it?


Thanks a million:)

Bore
April 1st, 1999, 07:58 AM
Yes, you can do this. Do it just like you might expect:

class CMyClass

{

CList<CAnotherClass,CAnotherClass &>m_mainList;

};


class CAnotherClass

{

CList<CPrimitiveObject,CPrimitiveObject &> m_secondaryList;

};