I am a student in college and just started to learn C++. I have an iPad 2 and no computer (it broke and I will not buy another one). So I want to find an app that seems like codeblock for Windows. The ability to run code and maybe can fix it is a big plus. Thanks a lot!

  • 1
    Many/most(?) colleges offer computers for students to use. You could install an SSH or VNC client on your iPad, and connect to a networked computer which has a C++ compiler. – Ken Aug 20 '12 at 2:15

Is your iPad jailbroken? If yes, download mobile terminal (a commandline) , vim (the text editor) and the gnu c compiler from cydia, and google for a file "iosgcc.zip", download, unzip, and enter the terminal and install the package of g++. The way to jailbreak depends on the version of your iOS, visit www.jailbreakme.com as a reference.

| improve this answer | |

No fully functional IDE exists on iOS to make runnable apps without jailbreaking but you can sign up for a free Amazon Web service account and get an ssh client and program "on the iPad" assuming you have a network account.

An app like nimbus or textastic would be an ideal companion once you were clear how compiling elsewhere fit your desire to learn.

Xcode is currently only available for Mac OS X to develop programs that run iOS and cocoa touch (not which is very much not C++ - even though Xcode can be used for C++).

Have a look at this question on learning C which will apply almost entirely to C++ on iOS.

Is there a C compiler for iPad?

| improve this answer | |

There is no compiler that runs on the iPad. There are numerous web apps that will accomplish what you're probably looking for. This of course assumes that you are not hoping to use an iPad as a development environment.

Have a look at:

  • CompileOnline: Has C++ and many other languages. It's simple with no account necessary.
  • CodePad: Very simple. For short snippets only.
  • Compilr: Requires registration, but is more like a full-blown Web-ide app with storage available for your code.

Google searches will get you further. If you are looking for short, snippet based online compiler / interpreters abound. Compilr works with the iPad and is looks to be sufficient enough to support small projects or college-level coursework.

| improve this answer | |

The development environment for iPad is called XCode and runs on Macs only.

I would suggest you should look into anything that will allow you to enter code,compile it and run it in a browser window instead.

| improve this answer | |

Try CppCode ios app - http://www.cppcode.info. No jailbreak required, no internet required, free(mium)

| improve this answer | |

If it helps, there is Java for iPad on App Store but you will have to pay to compile

| improve this answer | |

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .