帮忙找错
来源:互联网 发布:it软件设计师工资 编辑:程序博客网 时间:2024/05/02 05:00
# include"graphics.h"
main()
{
int driver,mode,i;
float x0,y0,y1,x1;
float j=12,k;
driver=VGA;
mode=VGAHI;
initgraph(&driver,&mode,"");
setbkcolor(GREEN);
x0=263;
y0=263;
y1=275;
x1=275;
for(i=0;i<=18;i++)
{
setcolor(5);
line(x0,y0,x1,y1);
x0=x0-5;
y0=y0-5;
x1=x1+5;
y1=y1+5;
j=j+10;
}
x0=263;
y0=263;
y1=275;
for(i=0;i<=20;i++)
{
setcolor(5);
line(x0,y0,x1,y1);
x0=x0+5;
y0=y0+5;
y1=y1-5;
}
}
这个程序,我在C++上运行的时候出现:
fatal error C1083: Cannot open include file: 'graphics.h': No such file or directory
在Win-tc上是不能得到图形,屏幕只是闪了一下,请哪位朋友帮忙查找一下错误,非常感谢!!
- 帮忙找错
- 帮忙找错!!
- 求大神帮忙找错
- 找错
- 程序找错
- 找错题
- 帮忙
- 帮忙
- 帮忙
- 帮忙
- 帮忙
- 帮忙!!!!!!
- 帮忙
- 帮忙
- 请各位帮帮找错
- cvFindContours 找错区域问题
- 盲目的找错
- c语言找错题
- ESX 3防火墙规则分析与修改
- 嫁个程序员
- asp.net购物车实现-------结合session方式
- 认识
- 设计模式初学结束
- 帮忙找错
- How to Think About Algorithms
- The Productive Programmer
- Ext智能提示 - Eclipse 3.2
- Learning Perl, 5th Edition [ILLUSTRATED]
- Building and Maintaining a Data Warehouse
- windows ——任务计划的另类功能
- Spket IDE集成Ext/Jquery代码提示
- Advances in Mobile and Wireless Communications: Views of the 16th IST Mobile and Wireless Communicat