I really need help here :
I have a CObject devired class named : COrderInfo
and i want to have a type safe list
that's why i try to make a list like that :
typedef CTypedPtrList<CObList, COrderInfo*> COrderList;
but it keeps outputing error in compiler.
NEXT I tried to define a variable like this :
CTypedPtrList<CObList, COrderInfo*> m_orderList;
but it kept having errors :
error C2501: 'CTypedPtrList' : missing storage-class or type specifiers
CAN YOU HELP ME?
desperate Hippo
I have a CObject devired class named : COrderInfo
and i want to have a type safe list
that's why i try to make a list like that :
typedef CTypedPtrList<CObList, COrderInfo*> COrderList;
but it keeps outputing error in compiler.
NEXT I tried to define a variable like this :
CTypedPtrList<CObList, COrderInfo*> m_orderList;
but it kept having errors :
error C2501: 'CTypedPtrList' : missing storage-class or type specifiers
CAN YOU HELP ME?
desperate Hippo