Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

CTypedPtrArray in MFC ???

Status
Not open for further replies.

Longmcx

Junior Member level 1
Junior Member level 1
Joined
Sep 28, 2004
Messages
19
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
147
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.
 

you need define file:
#include <afxcoll.h>
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top