摘要: 1、NSString -> char*和char*->NSStringint main(int argc, const char * argv[]){ @autoreleasepool { NSString *str1=@"nsstring"; char *str2=" c string"; NSLog(@"nsssting->%@",str1); NSLog(@"c sting->%s",str2); printf("printf打印%s",str2); NSStrin 阅读全文
posted @ 2013-07-24 21:43 ymonke 阅读(126) 评论(0) 推荐(0) 编辑