I’m trying to output and C++ Array (int inverse[3]) using NSLog, but If I try this way:
NSLog([NSString stringWithFormat:@"%d", inverse]);
It just dont work, But if I try like this:
NSLog([NSString stringWithFormat:@"%d", inverse[0]]);
I get the right output.
My objective is to get the whole array outputed.
Any ideas? Thanks
There is no need need to convert for string format conversion. You can print like these –