VC++6.0画图

#include<graphics.h>#include<math.h>#include<stdio.h>main(){intgdriver=DETECT.GMODE;i... #include<graphics.h>
#include<math.h>
#include<stdio.h>
main()
{
int gdriver=DETECT.GMODE;
int a[]={100,100,235,100,290,35,81,77,100,100};
int b[]={100,100,235,100,250,32,100,100};
int c[]={100,100,235,100,190,46,74,115,100,100};
int d[]={235,100,203,62,348,100,235,100};
int e[]={235,100,217,53,360,100,235,100};
int f[]={235,100,246,51,388,100,235,100};
initgraph(&gdriver,&gmode,"c:\tc"};
drawpoly(5,a);
drawpoly(4,b);
drawpoly(5,c);
drawpoly(4,d);
drawpoly(4,e);
drawpoly(4,f);
circle(100,100,30);
circle(348,100,2);
circle(360,100,2);
circle(388,100,2);
arc(235,100,77,129,70);
arc(235,100,77,129,50);
rectangle(334,96,352,104);
rectangle(356,96,364,104);
rectangle(384,96,392,104);
getch();
closegraph();
}
急用!本人财富值用完,请谅解!多谢多谢!
展开
 我来答
匿名用户
2014-04-11
展开全部
VC++6.0 使用graphics.h需要EasyX 库,部分函数用法需要修改

http://wenku.baidu.com/view/bd3231a6284ac850ad0242f9.html
追问
那请问这个程序的输出图像是什么?
追答

推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式