⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gettexti.c

📁 vc library 韩国语版 希望对大家又帮助
💻 C
字号:
#include <conio.h>
#include <stdio.h>
int main(void)
{
   struct text_info ti;
   clrscr();
   gettextinfo(&ti);
   printf("window left      %2d\n",ti.winleft);
   printf("window top       %2d\n",ti.wintop);
   printf("window right     %2d\n",ti.winright);
   printf("window bottom    %2d\n",ti.winbottom);
   printf("attribute        %2d\n",ti.attribute);
   printf("normal attribute %2d\n",ti.normattr);
   printf("current mode     %2d\n",ti.currmode);
   printf("screen height    %2d\n",ti.screenheight);
   printf("screen width     %2d\n",ti.screenwidth);
   printf("current x        %2d\n",ti.curx);
   printf("current y        %2d\n",ti.cury);
   return 0;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -