开发者

Expected';' before numeric constant

I have the following code, but the compiler throws an error - how can I fix this?

NSString *开发者_如何学JAVAa = @" b ="1.0"  "


You need to escape " within " - SO it should be:

NSString *a = @" b =\"1.0\" ";
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜