sauravgr8
Broken In
I am unable to run even a simplest graphics program in C, even though when i compile the program it shows success but when i run it , it gives the error that the
BGI error: graphics not initialized...
I dont know where is the problem...can any one help plz
#include<stdio.h>
#include<conio.h>
#include<graphics.h.
void main()
{
int gd=DETECT,GM;
initgraph(&gd,&gm,"");
setbkcolor(RED);
getch();
}
BGI error: graphics not initialized...
I dont know where is the problem...can any one help plz
#include<stdio.h>
#include<conio.h>
#include<graphics.h.
void main()
{
int gd=DETECT,GM;
initgraph(&gd,&gm,"");
setbkcolor(RED);
getch();
}