Graphics Problem

i am using graphics feature of c++, while using inbuilt rectangle example it shows error which will remove after "initgraph(&gdriver, &gmode, "D:\\TC\\BGI");" but after running output window hangs up and no output generated .
C++ has no graphics support, and there is no such "inbuilt rectangle example". What compiler and/or IDE are you using?
Or are you using a C++ Graphics library, such as SMFL, SDL, etc... (these include graphics support, but are also used for game programming)?
Can we really add graphics in C++ using SMFL, SDL, etc...
If Yes then can anyone please guide me.
I've created KBC Game, Car Racing Game, Snake & Ladder game
I want to add graphics.
there is an example at the bottom of this page which shows how to see any errors initialising the graphics library.
http://www.cs.colorado.edu/~main/bgi/doc/initgraph.html
I recommend using SFML.
Topic archived. No new replies allowed.