Is it possible to bypass this problem by downloading the program library to cxxdroid on my phone? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Is it possible to bypass this problem by downloading the program library to cxxdroid on my phone?

#include <graphics.h> #include<conio.h> int main(void){ int driver=DETECT,mode; int x,y; initgraph(&driver,&mode,"../BGI"); for(x=24;x<=400;x=x+25) for(y=24;y<=400;y=y+25){ line(x,24,x,400); line(24,y,400,y); } getch(); closegraph(); return(0); } If possible, what is the name of that library please? https://code.sololearn.com/cOM2jGzxgpot/?ref=app

9th Feb 2022, 3:20 PM
Shafiq Almatari
Shafiq Almatari - avatar
3 Answers
+ 2
Ipang Is there another Android app that can do that?
10th Feb 2022, 1:54 PM
Shafiq Almatari
Shafiq Almatari - avatar
+ 1
Sorry to say but that's not possible. What you used in your code is an obsolete method of drawing graphics originated from the too old Turbo compiler. I don't suppose CxxDroid devs would want to waste decades of development using something that is so old. And I agree to their view. Look to the future and leave the past be, time changes everything : )
9th Feb 2022, 8:09 PM
Ipang
+ 1
Shafiq, I just don't know honestly. To this date I haven't got the chance to write GUI program with C++. And people say development gets even harder using a phone cause it lacks actual 10-finger keyboard, mouse and a proper plus comfortable screen.
10th Feb 2022, 1:59 PM
Ipang