title: Jog java interpreter to return the console output as string
body: <p>Im trying to make a java interpreter for iphone, however the <a href="https://code.google.com/p/jog-interpreter/" rel="nofollow">library</a> which i am using only prints the console output to the NSLog/printf console. I want it to return a std::string which i can convert to NSString and display in a UITextView. Has this been done before? either capture the console log (it needs to be accepted by appstore) or change the source adding a method to return a string with the buffer.</p>