+ 1

Why error show , when we declare <graphics.h> header file in " C "graphic program..

18th Jun 2021, 1:04 AM
SOUMYA RANJAN DALAI
SOUMYA RANJAN DALAI - avatar
5 ответов
+ 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 ^^
18th Jun 2021, 1:46 AM
visph
visph - avatar
+ 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.
18th Jun 2021, 3:38 AM
Prashanth Kumar
Prashanth Kumar - avatar
+ 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.
18th Jun 2021, 1:50 AM
Arsenic
Arsenic - avatar