本文介绍了Android的C ++程序设计的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法将程序C ++的Andr​​oid应用程序?我的意思是 - 使用Android设备进行编程和编译项目

Is there any way to programm C++ applications on Android? I mean - using your Android device for programming and compiling projects.

推荐答案

这真的很取决于你想要做什么。

It really quite depends on what you want to do.

如果你只是想看到一些C ++ code的输出,你可以使用一些网上的编译器,如或。 Ideone也有一个API,并有一个iPhone应用程序称为$ C使用它提供的应用程序跑code的能力$ cToGo - 你可以尝试寻找或建立类似Android版

If you just want to see the output of some C++ code, you could use some online compilers such as Codepad or Ideone. Ideone also has an API, and there is an iPhone app called CodeToGo that uses it to provide the ability to "run" code in the app -- you could try to search or build something similar for Android.

另一种可能,虽然可能比较复杂,是在手机上安装一个完全成熟的Linux发行版,例如Debian的(它有一切你需要安装一个编译器) - 有关于如何引导做到这一点,你可以寻找更多的谷歌。

Another possibility, although probably more complicated, is to install a full-blown linux distribution on your phone, for example, Debian (which has everything you'd need to install a compiler) -- there is a guide on how to do that here, and you can search for more on google.

这篇关于Android的C ++程序设计的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-14 03:21