📄 getmoder.c
字号:
#include <graphics.h>
#include <stdio.h>
#include <conio.h>
void main()
{
int gd=0,gm;
int lo,hi;
char str[100];
initgraph(&gd,&gm,"");
getmoderange(gd,&lo,&hi);
sprintf(str,"low mode is %d, high mode is %d",lo,hi);
outtextxy(100,100,str);
getch();
closegraph();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -