快速提问:如何在Objective-C中使用const float *
类型的常量调试值?通过调试你的意思是NSLog“const float *”
%@ , Format specifies type 'id' but the argument has type 'const float *'
%d , Format specifies type 'int' but the argument has type 'const float *'
%f , Format specifies type 'double' but the argument has type 'const float *'
您的警告是什么? – mathk
添加了有问题的警告 – Raptor
您似乎混淆了指针和值,请添加NSLog ligne。 – mathk