+ 2
Is there a why to compile cpp codes with out compiler in android and ios phone?
3 Respuestas
+ 3
thx martin , your comments always bring new insights for me
+ 2
@Martin Taylor
You are probably right about MobileC using a compiler. I thought it would use an interpreter instead because:
1) I find the app a bit makeshift and interpreters are easier to implement than compilers because they are generally not platform-dependent, meaning that one solution could be used for many different OSs and hardware.
2) MobileC runs codes SERIOUSLY slow, and usually compiled code runs faster than interpreted.
However, all languages can be interpreted instead of compiled.
https://en.m.wikipedia.org/wiki/Interpreter_(computing)
"Interpreters of various types have also been constructed for many languages traditionally associated with compilation, such as Algol, Fortran, Cobol and C/C++."
+ 1
There are interpreters instead of compilers. MobileC app is one of them. Your C++ codes will run inside that app. Also it is probably possible to create native (compiled) C++ apps for Android/iOS, but I would advice using a computer for that.