The standard C ++ library is available for both. In addition, iOS has had C ++ 11 for quite some time.
Both platforms, mainly based on POSIX, have the concept of console I / O, but none of them provide access to it in the user interface, and none of them can (at least out of the box) launch the console application directly.
As a result, it is obvious that you cannot use console I / O for any interaction with your application - unless this is the case, you create it using the platform user interface API.
There shouldn't be a problem in terms of portability on both platforms - this is the GNU Std g ++ library on Android and the Clang C ++ library on iOS. Portability is not a problem for iOS, but you will probably be interested in creating JNI bindings for Android.
In fact, you will only ever be able to create back-end applications in C ++. All user interfaces will be clearly not portable and, as a rule, should be implemented in the user interface language.
Windows Phone 8 allows native applications, while C ++ seems to be the language of choice for their implementation. BlackBerry OS 10 is the fundamental QNX under the hood, which is also POSIX compatible.
marko source share