+ 3
C library graphics.h for Code Playground?
Would Sololearn administrators and moderators please build a graphics.h header file for use in Code Playground if at all possible, or is that only for Windows 7+? I know one could just go with HTML and CSS to change text color and do programming in Javascript to draw graphics on the canvas, but it would be fantastic to be able to change text colors in C and draw basic shapes within the console terminal.
2 Answers
+ 10
graphics.h is obsolete and should never be used. It comes with Turbo C++, and has never been part of standard C++. There are modern and much better GUI libraries out there. As for providing these on Code Playground for non-web languages, it is no doubt a challenge for the devs - We are talking about simulating/emulating GUI desktop programs on an Android application. If they could implement it, they would, but at the cost of possibly a lot of resource. This cost may not justify the need of implementing graphic libraries just yet, but I'm sure it's somewhere on the to-do list.
+ 9
Hatsy Rei, is there a way to use ncurses.h or an equivalent C library in Code Playground or would that also involve emulating the terminal?