鍍金池/ 問答/C  C++/ devcpp使用ege的時候,出現(xiàn)cannot find -lgraphics問

devcpp使用ege的時候,出現(xiàn)cannot find -lgraphics問題

在devcpp里面使用ege的時候

#include <iostream>
#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(640,480);
    circle(200,200,100);
    getch();
    closegraph();
    return 0;
}

最后報錯:cannot find -lgraphic

回答
編輯回答
絯孑氣

應該是你的配置里沒有加入 -lgraphic。
具體配置:鏈接描述

2018年2月12日 23:54