help!
why is it when i compile my program and run it stand alone (not on a TC directory) it gets an error:
BGI Error: Graphics not initialized (use 'initgraph');
please help!
help!
why is it when i compile my program and run it stand alone (not on a TC directory) it gets an error:
BGI Error: Graphics not initialized (use 'initgraph');
please help!
You have to setup a graphics mode before you can to drawing operations. Use the function initgraph() to do that.
I'm no expert on BGI graphics though.
MagosX.com
Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime.
i got no prob with the code... it runs perfectly.. but the compiled EXE file when i run it stand alone it returns that error. but on TC it runs with no hassle! please help..
Maybe it's because it can't find the *.bgi files such as egavga.bgi.
the file variable to the egavga.bgi and change it to where the ega.. file is in ur comp....that will fix everything....hopefully