Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I came across an iPad2 application that allows a user to write Python programs on their iPad.

Though this framework was only limited to Python's maths functions I was wondering if there is a similar application that will let you write C++ applications on the iPad2?

share|improve this question
    
can you link to the app? –  Enrico Susatyo Aug 10 '11 at 10:55
    
Possble Duplicate: apple.stackexchange.com/questions/9548/… –  Jason Salaz Aug 10 '11 at 17:11
1  
@Enrico Susatyo: Here's the link to the app itunes.apple.com/za/app/python-math/id429450202?mt=8 –  Draco Aug 11 '11 at 7:20
    
@Draco wow that is a serious implementation of python interpreter. I'm not sure how to answer your question now. –  Enrico Susatyo Aug 11 '11 at 7:38
    
The app doesn't let you write python programs even though it does use the python interpreter and lets you store values and load modules that are built into the app. Embedding a compiler is a whole different ball of wax. –  bmike Aug 11 '11 at 14:43
add comment

1 Answer

up vote 3 down vote accepted

Well, you can't compile and run apps from the iPad itself, but there are many text editors in the App Store that support what is called syntax highlighting. You could then take these files and compile and run them on your Mac or PC.

The reason you won't find apps allowing you to compile code in the App Store is because Apple forbids apps that run external code (code that wasn't bundled with the app). I'm not quite sure how this Python app got through, but I wouldn't be surprised if it was pulled from the store at some point.

Some text editors that support C++ highlighting are Textastic Code Editor and CodeToGo, but you can find many by searching for "code editor" or "syntax highlighting" (without the quotes) in the App Store. The interesting thing about CodeToGo is it will let you run your code on a remote server for free if you have an internet connection. So, if running your code on the iPad is important, CodeToGo might be a good choice for you.

share|improve this answer
1  
This question answer are very similar to a question asked earlier this year. apple.stackexchange.com/questions/9548/… –  Jason Salaz Aug 10 '11 at 17:11
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.