home *** CD-ROM | disk | FTP | other *** search
-
- /************************************************************************/
- /* Get cursor position and print it on the screen */
- /************************************************************************/
-
- print_cursor_pos()
- {
- int row, col;
- get_cursor_position(&row,&col); /* Get position */
- /* Print it */
- printf("\nCursor row and column are %d %d", row, col);
- }