基本介紹
- 外文名:wherey
- 函式名:wherey
- 功 能:返回視窗內垂直游標位置
- 用 法:int wherey(void);
程式例:
#include<conio.h>
int main(void)
{
clrscr();
gotoxy(10,10);
cprintf("Current location is X: %d Y: %d\r\n", wherex(), wherey());
getch();
return 0;
}
程式例: #include<conio.h> int main(void) { clrscr(); gotoxy(10,10); cprintf("Current location is X: %d Y: %d\r\n", wherex(), wherey())...
用法int wherey(void);程式例#include <conio.h> int main(void) { clrscr(); gotoxy(10,10); cprintf("Current location is X: %d Y: %d\r\n", ...
wherex是一個程式函式,作用是返回視窗內水平游標位置。...... cprintf("Current location is X: %d Y: %d\r\n", wherex(), wherey());...