Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Could someone with an iOS4 device try this

  • 28-09-2010 03:53PM
    #1
    Closed Accounts Posts: 3,265 ✭✭✭


    Go to www.codepad.org on your ios4 device

    copy and paste this into the box
    #include <iostream>
    using namespace std;
    int main()
    {
    cout << "Hello World!" << endl;
    }

    select c++ button and then press submit.


    I'm just curious if there is an easy way of compiling c++ code on an ios4 device. I found a tutorial for iphone 3g where the phone itself could actually compile c++ instead of getting a website to do it but I don't think the libraries have been updated to ios4.


Comments

  • Moderators, Society & Culture Moderators Posts: 25,621 Mod ✭✭✭✭Dades


    This is what ya get. :)

    photo.png


  • Closed Accounts Posts: 3,265 ✭✭✭SugarHigh


    Thanks that means it works.:)


  • Registered Users, Registered Users 2 Posts: 1,193 ✭✭✭deep1


    SugarHigh wrote: »
    Thanks that means it works.:)

    You can also try Code2go app, that gives you to compile app in lots of other language on the go.
    Check the screenshots.


  • Registered Users, Registered Users 2 Posts: 40,727 ✭✭✭✭Mellor


    I don't understand a whole lot about C++, but what did the code world site do with the code?


  • Closed Accounts Posts: 3,265 ✭✭✭SugarHigh


    deep1 wrote: »
    You can also try Code2go app, that gives you to compile app in lots of other language on the go.
    Check the screenshots.
    Thanks I never heard of that. Does it actually compile the code on the iPad or does it send it to a server?



    Mellor wrote: »
    I don't understand a whole lot about C++, but what did the code world site do with the code?
    www.codepad.org just compiles the code and prints the output. The compiling is done by their server and not by your computer. It's handy in cases like this and if for example you wanted to compile java code but were on a computer without the java library.

    It's not ideal but in the odd situation it's handy.


  • Advertisement
Advertisement