Tell me please... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Tell me please...

Why graphics.h file is only run with cpp(c++) extension.....Is it possible to run graphics .h with .c extension in your compile like dev c++,visual studio ,turbo c++ etc.

25th Aug 2020, 8:02 AM
Bhupendra Singh Sisodia
Bhupendra Singh Sisodia - avatar
2 Answers
+ 2
Yes you can also use graphics.h with c . In Turbo Compiler graphics librabry are pre-installed u dont need to install. But in other ide like codeblock, devcpp ...here u need to paste graphics header file librabry .
25th Aug 2020, 8:04 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
0
Yes, please do consider using Google sometime. https://developerinsider.co/graphics-graphics-h-c-programming/
25th Aug 2020, 8:04 AM
Rohit