Well the following code I used to run graphics.h functions in windows xp
CODE:
int driver,mode;
driver=DETECT;
mode=DETECT;
initgraph(&driver,&mode,"c:\\tc\\bgi");
Without this code functions of graphics.h (circle, line, arc etc.) did not run
But in windows 7 this code is not working c++ is showing errors ….Well I am using the same version of turbo c++ I used in windows xp
Now, is there any new version of c++ for windows 7 who will run the code
OR is there any alternative code which will run the functions of graphics.h
I just want my compiler not to show errors when I use any functions of graphics.h and compile them successfully …
Thanks