标题:[求助]帮忙看看为什么?
取消只看楼主
Guenhwyvar
Rank: 1
等 级:新手上路
帖 子:11
专家分:0
注 册:2005-7-17
 问题点数:0 回复次数:0 
[求助]帮忙看看为什么?
编译后运行,说“BGI Error:Graphics not initialized<use 'initgraph'>”,这是为什么呢?
#include "graphics.h"
#include "stdio.h"
main()
{int x=100,y=100,graph=VGA,mode=VGAHI;
 cleardevice();
 initgraph(&graph,&mode,"");
 line(1,1,x,y);
 getch();
} 
2005-07-24 15:20



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-23523-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.549840 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved