There is a struct:
struct _point{
int x;
int y;
};
typedef _point Point;
struct _queue_node{
Point coordinate;
struct _queue_node* next;
};
typedef struct _queue_node Node;
typedef struct _queue_node* pNode;
Why i can't new a Node:
pNode n=new Node(); //error:no appropriate default constructor
available
i can only pNode n=new _queue_node();
Thank you