📄 wherexy.c
字号:
#include <conio.h>
void main(void)
{
int row, column;
clrscr();
cprintf("This is line 1\r\n");
cprintf("Line 2 is a little longer\r\n");
cprintf("This is the last line");
row = wherey();
column = wherex();
cprintf("\r\nThe cursor position was row %d column %d\n",
row, column);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -