函数名
wherex
功 能
返回窗口内水平光标位置
用 法
int wherex(void);
程序例
#include <conio.h> int main(void) { clrscr(); gotoxy(10,10); cprintf("Current location is X: %d Y: %drn", wherex(), wherey()); getch(); return 0; }
wherex
返回窗口内水平光标位置
int wherex(void);
#include <conio.h> int main(void) { clrscr(); gotoxy(10,10); cprintf("Current location is X: %d Y: %drn", wherex(), wherey()); getch(); return 0; }