Why new C++ compliers doesn't support graphics | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why new C++ compliers doesn't support graphics

I want to know why latest compliers doesn't support graphics.h . Is there any way to use graphics in C++.

26th Oct 2016, 1:53 PM
Karan V B
Karan V B - avatar
1 Answer
+ 7
graphics.h was created only for Borland Type Compilers(search BGI for more info.), while the new compilers are GNU GCC based. Also, It has several limitations. Thus, new compilers use Windows.h for graphical programming, which also supports windows application creation. It is based on the WinAPI and is perfect collaboration with MingGW People also use WxSmith Graphics for programming, which are also supported. Windows.h can do all that graphics.h can do in a better way, and also can take mouse input. you can learn more about Windows.h at the Microsoft Website. Cheers...
26th Oct 2016, 5:15 PM
Kinshuk Vasisht
Kinshuk Vasisht - avatar