摘要: 在LKSNAPSHOT.cpp中解析接收串口的字符串时有一句:string cmd = msg.substr(cmdstr.length()+1,cmdstr.length()-cmdstr.length()-1);怀疑substr的参数写错了,然后查到相关资料,发现当长度大于字符串的长度或者小于0... 阅读全文
posted @ 2014-12-05 15:52 IT由零开始 阅读(883) 评论(0) 推荐(0) 编辑