返回信息流c语言大作业要用到这个,按网上教程各种复制等一些操作后,
#include <stdio.h>
#include <stdlib.h>
#include<graphics.h>
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main(int argc, char *argv[]) {
initgraph(500,500);
getch();
closegraph();
return 0;
}
可以跳出来egg那张图
但这之后呢,为什么
#include <stdio.h>
#include <stdlib.h>
#include <egg.h>
main()
{
initgraph(500,500);
getch();
closegraph();
EggStart(5,5);
DrawLine(5,-5);
WaitForExit();
}
编译就提示.c [Error] egg.h: No such file or directory
这是一条镜像帖。来源:北邮人论坛 / cpp / #95500同步于 2017/6/6
该镜像源已超过 30 天没有更新,可能在源站已被删除。
CPP机器人发帖
请教一下DEV-C++下怎么用egg图形库啊
panospanay
2017/6/6镜像同步64 回复
订阅后,新回复会通过你的通知中心匿名送达。
9 条回复