为什么运行时,屏幕说我的头文件#include<graphics.h> 没定义 initgraph()。不懂,求高手解释。
#include<graphics.h>#include<stdio.h>voidmain(){intgraphdriver=DETECT,graphmode;char*...
#include<graphics.h>
#include<stdio.h>
void main()
{
int graphdriver=DETECT,graphmode;
char *s;
initgraph(&graphdriver,&graphmode,"");
s=getdrivername();
outtext("Using driver:");
outtext(s);
getch();
closegraph();
} 展开
#include<stdio.h>
void main()
{
int graphdriver=DETECT,graphmode;
char *s;
initgraph(&graphdriver,&graphmode,"");
s=getdrivername();
outtext("Using driver:");
outtext(s);
getch();
closegraph();
} 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询