#include <stdio.h>
#include <math.h>
#include <graphics.h>
#include <conio.h>
void main(){
int gd=DETECT, gm;
initgraph (&gd,&gm,"c:\\bc\\bgi");
line (99,99,100,100);
getch();
closegraph();
}
Borland C++ 5.02 인데
이런게 계속 뜨고 선은 안나오는거에요
Error directive: BGI graphics not supproted under Windows
무언가를 지정해주면 될거 같은데....
책에서는 grphic.lib 가 프로그램과 링크되어야 한다고만....
어떻게 하는지 모르겠어요 프로그램엔 문제가 없는거 같은데
보시다시피 너무 간단해서....
제발 가르쳐주세요 될 수 있으면 자세하게 부탁 드립니다.
제가 그래픽은 초보라서...
|