Android C++ programming
Is there any way to progr开发者_C百科amm 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.
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.
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.
It depends on the scope of what you want to do.
At the very least, you can do small snippets of C++ code by typing them in and running in your browser via http://codepad.org/
精彩评论