initgraph() question!
The following code will not run in windows. When I run it in DOS, I can get an error saying "Could not find graphics.h". Can anyone tell me why this isn''t working? thanks
By the way I am using Borland 5.5
#include
#include
#include
#include
#include
#include
void main()
{
initgraph(&gdriver, &gmode, "c:\\bc5\\bgi\\");
}
Hey webmasters, need more cash!
Adtomi Ad Solutions
Bob Jones
December 26, 2000 05:34 AM
Borland 5.5 is only for windows and BGI is only for DOS.
Use OpenGL instead.
Use OpenGL instead.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement