const std::string eventTopic = "tns1:VideoAnalytics"
"tns1:MotionDetection"
""
"tt:MessageDescription"
"tt:Source"
""
"/tt:Source"
"tt:Data"
""
"/tt:Data"
"/tt:MessageDescription"
"/tns1:Motion"
"/tns1:MotionDetection"
"/tns1:VideoAnalytics";
奇怪的c++string字符串
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-
2条回答 默认 最新
threenewbee 2016-08-03 11:46关注这个不奇怪,这个就是一个xml数据,因为xml中有引号、换行,所以在c++里需要转义下。
c++解析xml参考:http://blog.csdn.net/mhapdream/article/details/9088363
http://www.cnblogs.com/phinecos/archive/2008/03/11/1100912.html解决 无用评论 打赏 举报