char怎么转换成string

char怎么转换成string

回复
  • 赵彦杲用户
    [[{"txt": "char\u600e\u4e48\u8f6c\u6362\u6210string"}], [{"txt": ["\u5de5\u5177/\u539f\u6599"]}, {"txt": "char"}, {"txt": "C++"}], [{"txt": ["\u65b9\u6cd5/\u6b65\u9aa4"]}, {"txt": "\u00a01.\u8c03\u7528string\u7684data\u51fd\u6570\u8f6c\u6362\u4ee3\u7801\u00a0"}, {"img": ["https://exp-picture.cdn.bcebos.com/bd72f23834bb19ef2969c3a0497bd28287893a8f.m2m?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_500%2Climit_1"]}, {"txt": "2.\u4f7f\u7528string\u7684c_str\u51fd\u6570\u8f6c\u6362\u4ee3\u7801"}, {"img": ["https://exp-picture.cdn.bcebos.com/b6f0f0f97fbd4c7ca185f3f5b8bad341027d308f.m2m?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_500%2Climit_1"]}, {"txt": "3.\u53bb\u8c03\u7528string\u7684copy\u51fd\u6570\u8f6c\u6362\u4ee3\u7801\u00a0"}, {"img": ["https://exp-picture.cdn.bcebos.com/c8373cbc7dc5cf67b4691af28e96b814f5d0268f.m2m?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_500%2Climit_1"]}, {"txt": "4.string \u8f6c\u6362\u6210 char *\u65b9\u6cd5\u4ee3\u7801"}, {"img": ["https://exp-picture.cdn.bcebos.com/f591ab03c8d246fee0780d37b8bf3bef344f1e8f.m2m?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_500%2Climit_1", "https://exp-picture.cdn.bcebos.com/460fdc8333bf3bef9e799f0c3f3ea8db564a1a8f.m2m?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_500%2Climit_1"]}, {"txt": "5.\u4f7f\u7528char *\u8f6c\u6362\u6210string\u65b9\u6cd5\u4ee3\u7801"}, {"img": ["https://exp-picture.cdn.bcebos.com/3aae2b4f50b8b43e06ed98fe7132939c2df7198f.m2m?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_500%2Climit_1"]}, {"txt": "6.\u63a8\u8350\u4f7f\u7528\u7684\u8f6c\u6362\u65b9\u6cd5"}, {"img": ["https://exp-picture.cdn.bcebos.com/51f9aa3ea8db574a4a045c28a7f7dfb2dd19178f.m2m?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_500%2Climit_1"]}]]
    2024-11-22
    1楼
    回复

参与评论

游客评论不支持回复他人评论内容,如需回复他人评论内容请