Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

graphics.h AHH!!!!!

Status
Not open for further replies.

arson71beginner

Programmer
Joined
Mar 24, 2001
Messages
1
Location
GT
I'm starting to use C++ and I'm trying to use graphics.h for a proyect.
The thing is that not even the examples in the help, want to run. They compile, but when they run ... &quot; undefined symbol _initgraph&quot; etc. and the # include <graphics.h> is there.
Do you know of something I &quot;have&quot; to do, configure or make sure for the examples to work?
By the way I have v3.1, since that is the one they use in school and I'm using DOS. I heard thaT you have to add something in the list of directories for the include field in options. arson71@flashmail.com
 
Looking through the threads in this forum, the general consencus is you need to make certain that you are creating a project for DOS (Standard) and that you have the BGI check box marked.
James P. Cottingham
 
You should add to linker options graphics.lib. John Fill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top