COORD

The COORD structure defines the coordinates of a character cell in a console screen buffer. The origin of the coordinate system (0,0) is at the top, left cell of the buffer.

typedef struct _COORD { // coord.

SHORT X; // horizontal coordinate

SHORT Y; // vertical coordinate

} COORD;

Members

X

Horizontal or column value.

Y

Vertical or row value.