CPP compiles and works now. (iOS and Android)