[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
Function whereh - X-coordinate of cursor
Syntax int whereh(void);
Prototype in video.h
Remarks returns the X-coordinate (column) of the cursor's
current location via INT 0x10, Service 3.
Return value returns the X-coordinate of the cursor's current
location.
See also gotohv(), read_cursor(), wherev()
Example #include <video.h>
main()
{
printf("Cursor's column = %d\n",whereh());
}
Program output Cursor's column = 12
See Also:
gotohv()
read_cursor()
wherev()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson