c

来自「C程序设计经典900例.zip」· 代码 · 共 20 行

TXT
20
字号
#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 + =
减小字号Ctrl + -
显示快捷键?