urgent graphics
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
#include<iostream.h>
#include<graphics.h>
#include<conio.h>
main()
{
initgraph;
clrscr();
int d,m;
d=DETECT;
initgraph(&d, &m," ");
cleardevice();
line (10, 10, 600, 10);
closegraph();
getche();
}
|
i am facing problems with graphics
error that initilize the initgraph
how i can do that
What exactly is the error?
I'm guessing that initgraph;
should be initgraph();
?
Topic archived. No new replies allowed.