最佳答案:
wherex是一个程序函数,作用是返回窗口内水平光标位置。
详情介绍
wherex是一个程序函数,作用是返回窗口内水平光标位置。

- 外文名
- wherex
- 函数名
- wherex
- 功 能
- 返回窗口内水平光标位置
- 用 法
- int wherex(void);
程序例:
#include

int main(void)
{
clrscr();

gotoxy(10,10);
cprintf("Current location is X: %d Y: %drn", wherex(), wherey());
getch();
return 0;
}


