Is there a why to compile cpp codes with out compiler in android and ios phone? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Is there a why to compile cpp codes with out compiler in android and ios phone?

20th Dec 2017, 6:40 PM
Abulfazal Sarab
Abulfazal Sarab - avatar
3 Answers
+ 3
thx martin , your comments always bring new insights for me
21st Dec 2017, 3:53 AM
Morpheus
Morpheus - avatar
+ 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++."
21st Dec 2017, 1:17 PM
Augustinas Lukauskas
Augustinas Lukauskas - avatar
+ 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.
21st Dec 2017, 5:39 AM
Augustinas Lukauskas
Augustinas Lukauskas - avatar