当前位置:首页 科普知识 wherex

wherex

发布时间:2023-09-14 00:57:23

wherex是一个程序函数,作用是返回窗口内水平光标位置。

wherex介绍

wherex是一个程序函数,作用是返回窗口内水平光标位置。

wherex

程序例:

#include

int main(void)

wherex

{

clrscr();

gotoxy(10,10);

wherex

cprintf("Current location is X: %d Y: %drn", wherex(), wherey());

getch();

return 0;

}

温馨提示:
本文【wherex】由作者 爱百科 转载提供。 该文观点仅代表作者本人, 自学教育网 信息发布平台,仅提供信息存储空间服务, 若存在侵权问题,请及时联系管理员或作者进行删除。
(c)2008-2025 自学教育网 All Rights Reserved 汕头市灵创科技有限公司
粤ICP备2024240640号-6