摘要: 在做protobuf的一个项目中,碰到将对象序列化后成为string a="/010/002/020/000/023/" 将 const char* b=a.c_str()后,传递。 string c =b; c ="/010/002/020",后面的0以后的字符无法直接处理。 解决方法:proto 阅读全文
posted @ 2017-10-25 08:52 钟艳 阅读(7278) 评论(0) 推荐(0) 编辑