Longmcx
Junior Member level 1
Hi everybody!
i have a problem with my code. in my source code file, i write:
//////////////////
class Cline : public CObject // create class CLine
{
public:
CPoint m_from;
CPoint m_to;
public:
void Addline( );
};
typedef CtypedPtrArray<CObArray, Cline*> MyLines ;
//////////////////
But i alway receive error :
error C2143: syntax error : missing ';' before '<'.
I don't know why??? Please help me!!
Thanks in advance.
i have a problem with my code. in my source code file, i write:
//////////////////
class Cline : public CObject // create class CLine
{
public:
CPoint m_from;
CPoint m_to;
public:
void Addline( );
};
typedef CtypedPtrArray<CObArray, Cline*> MyLines ;
//////////////////
But i alway receive error :
error C2143: syntax error : missing ';' before '<'.
I don't know why??? Please help me!!
Thanks in advance.