Click here to Skip to main content
16,018,802 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have made a program for circle in graphics. The whole program is correctly coded and it is not giving me any error while compiling. but when I try to run it , it doesn't run. When i see the output from the window tab, this message is shown:
"BGI error: graphics not initailized(use 'initgraph')
what should i do? please help me out........ :(
Posted
Comments
Legor 22-Oct-12 3:28am    
If your program is not doing what it should how can you say "The whole program is correctly coded" ? Just because it compiles doesn't mean at all that it is correct (as you''ve just seen for yourself).

You could try looking at the error message - it is a bit explicit...
"BGI error: graphics not initailized(use 'initgraph')"


If you google for "initgraph" the fist link does kinda say you need to call it...
http://www.cs.colorado.edu/~main/bgi/doc/initgraph.html[^]
 
Share this answer
 
ok............. thank u...........
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900