什么是wherex

核心提示wherex是一个程序函数,作用是返回窗口内水平光标位置。外文名wherex函数名wherex功 能返回窗口内水平光标位置用 法int wherex(void);程序例:#includeint main(void){clrscr();got

最佳答案:

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;

}

 
友情链接
鄂ICP备19019357号-22