Command Prompt for Windows




wherex

int wherex(void);

Determine the horizontal location of the caret.

Returns

Co-ordinate of the caret on the horizontal x-axis.

Comments

Co-ordinates start from 1.

See Also

wherey, gotoxy