Hi,
Why this error ?
my opject can't by craite correct.
thank you for hellp me.
Printable View
Hi,
Why this error ?
my opject can't by craite correct.
thank you for hellp me.
Isn't it obvious?
This one may be less obvious:
No class/struct may contain a undefined-element-count array. This construct may only be used when declaring and immediatly initializing a global or stack array and as function parameter.Code:class CNode
{
public:
int ActionNumber;
CNode* Action[];
CString Data;
CNode();
virtual ~CNode();
};
But this one is extremly obvious:
Oh my, have you any idea what the new keyword is for and how to use it?Code:new Head;
new Loc;
new Prv;
Better go to some page like www.cplusplus.com or www.cprogramming.org and grab a tutorial.
Oh, and p1, p2, p3 and p4 are not members of CNode...
Oh ...!?!
IM insert not correct code Im sory.