Guys this code gives me error that is "expected unqualified-id before this". I'm doing binary search tree graphics implementation.`
struct node
{
int data , x , y;
node *left;
this->left->x = this->x+this->x/2;
this->left->y = this->y + 40;
node *right;
this->right->x = this->x/2;
this->right->y = this->y + 40;
};
But i can't define child node's x and y coordinate. How can i define? `