Put up a <img src="<?php echo "image link">"
Check out "CppDroid - C/C++ IDE" https://play.google.com/store/apps/details?id=name.antonsmirnov.android.cppdroid
Does that editor require inputs before execution?