p = (struct Point *)malloc( sizeof(struct Point) );
p->y = 10;
cout << (*p).y << endl;

構造体の中の変数にアクセスするとき
この場合だと p.y が出来なくて p->.y (*p).y になるのはなんで?