void Move(struct Rabbit *rabbit) { for (int i = 0; i < 20; i++) { coord1.X = rabbit[i].X; coord1.Y = rabbit[i].Y; SetConsoleCursorPosition(handle, coord1); cout << " "; } } In rows
coord1.X = rabbit[i].X; coord1.Y = rabbit[i].Y; displays an error:
the expression must represent a pointer to the full type of the object