+ 1
Why error show , when we declare <graphics.h> header file in " C "graphic program..
5 Respostas
+ 5
graphics.h is a borland C header library... that's not standard and quite old: unless you're still compiling with borland C, you cannot use it ^^
+ 4
graphics.h is really old from msdos i guess.
its really slow imo.
but there's a way to use it still
here's a github repo with instruction on setting it up :
https://github.com/SagarGaniga/Graphics-Library
leme know if you need help further in setup. ;)
also leme know which IDE you are using in case.
+ 3
Because graphics.h is a a non standard header and is not mandatory at all for a compiler to ship with it.
And on top of that it is a thing of past and was meant to be used with MS DOS operating system ( which anyone rarely uses now-a-days ) so even if you get it with an ancient non-standard compiler ( eg turbo C ), it would prove to be pretty useless on any morden machine.
+ 1
You can use the alternatives of graphics.h .
https://stackoverflow.com/questions/6894487/alternatives-to-graphics-h
https://www.quora.com/Is-graphic-h-in-C-outdated-If-so-why-and-what-do-we-use-instead-of-it