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:)
Printable View
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:)
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;
};