Hi!
I made a game in C using graphics recently. It works perfectly alright on my PC but when I mailed it to my friends, on their PC the exe file is not working, its giving "BGI error:Graphics not initialised".
As far as I know while initialising using initgraph we can write in two formats:
int gd=detect,gm;
initgraph(&gd,&gm,"c:\\tc\\bgi");
OR
initgraph(&gd<&gm," ");
but my compiler does not accepts this second option.On doing so it gives me the same error of "BGI error:...." .
Is this in any way related to my problem?
If my friends do not have Turbo C++ will they not be able to run this .exe file?
Infact all my friends have Turbo C++ yet this .exe file is not working on their PC.
What is the reason?
I am sure I'll get some solutin to my problem soon through you people.
Aarti