I tried to compile a code written in C which had included the file "graphics.h".It worked fine in my desktop PC which had a VGA monitor.But when i tried to run the same code in my laptop,it showed some graphics error. why is it like this?fG
mshafi
0
Newbie Poster
Recommended Answers
Jump to PostWelcome mshafi,
You got errors because graphics system of language is supported by the device. After all, your compiler is 17 years old. Now, it's time to say good bye to that compiler.
Number of free compilers with new standard are available : CodeBlock, Dev-C++, Visual C++ 2008.Read …
Jump to PostYes, go with adatapost's advice and get a current compiler.
If you need basic graphics, try out the SDL library. Easy and can do things far beyond what "graphics.h" could ever do.
All 5 Replies
kvprajapati
1,826
Posting Genius
Team Colleague
MosaicFuneral
812
Nearly a Posting Virtuoso
jephthah
1,888
Posting Maven
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
dng
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.