You are here:

C++/"graphics not initialized(use initgraph)"

Advertisement


Question
Sir,I am using Turbo c++. While running the graphics programs I am getting BGI error as "graphics not initialized(use initgraph)". How can I solve this problem sir.

Answer
Hi Dear Sravan !

I think you might have forgot to initialize the graphics system using initgraph() function ! Could you please give me the code ? ill fix the bug asap.

Please have a reference to the post which ive already answered
http://en.allexperts.com/q/C-1040/2009/2/screen-resolution.htm
Hope it will help you how to initialize the graphics system

Thanks and Regards!
Prince M.Premnath

C++

All Answers


Answers by Expert:


Ask Experts

Volunteer


Prince M. Premnath

Expertise

Years of research in C/C++ Will bring you all facts regarding , OOPS , SVGA , MOUSE , BIOS , IVT , Feel free to query me :-)

Experience

More than 5 years

Education/Credentials
MCA

©2016 About.com. All rights reserved.