开发者

Expected';' before numeric constant

开发者 https://www.devze.com 2022-12-18 00:17 出处:网络
I have the following code, but the compiler throws an error - how can I fix this? NSString *开发者_如何学JAVAa = @\" b =\"1.0\"\"

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

精彩评论

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