C语言图形处理问题 15
下面在WIN-TC里面运行#include"conio.h"#include"graphics.h"#defineclosegrclosegraphvoidinitgr(...
下面在WIN-TC 里面运行
#include"conio.h"
#include"graphics.h"
#define closegr closegraph
void initgr()
{
int gd=DETECT,gm=0;
registerbgidriver(EGAVGA_driver);
initgraph(&gd,&gm,"");
}
main()
{
initgr();
setbkcolor(14);
setcolor(1);
line(25,25,220,220);
circle(100,100,50);
getch();
closegr();
}
结果出现:
D:\Win-tc\projects\noname.exe
This system does not support fullscreen mode.Choose'Close'
to terminate the application.
请问是什么问题啊?
我 WIN 7 系统 想用WIN-TC做一个计算器界面 怎么做啊 展开
#include"conio.h"
#include"graphics.h"
#define closegr closegraph
void initgr()
{
int gd=DETECT,gm=0;
registerbgidriver(EGAVGA_driver);
initgraph(&gd,&gm,"");
}
main()
{
initgr();
setbkcolor(14);
setcolor(1);
line(25,25,220,220);
circle(100,100,50);
getch();
closegr();
}
结果出现:
D:\Win-tc\projects\noname.exe
This system does not support fullscreen mode.Choose'Close'
to terminate the application.
请问是什么问题啊?
我 WIN 7 系统 想用WIN-TC做一个计算器界面 怎么做啊 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询