摘要: QT编程中,编译的时候遇到RTTI symbol not found for class 问题,刚开始利用project工程中的shadow框选取消和main里面 mainwindow变成指针类型都没有解决 ,最后在单步运行过程中找到了问题,原来是一个指针在delete之后忘记将改指针滞空了。 阅读全文
posted @ 2018-12-10 16:35 奇异硕士 阅读(3476) 评论(0) 推荐(0)
摘要: class Solution {public: void replaceSpace(char *str,int length) { if(str==NULL||length<=0) return; int originallength = 0; int blankcount =0 ; int i = 阅读全文
posted @ 2018-12-03 20:44 奇异硕士 阅读(280) 评论(0) 推荐(0)
摘要: bool Find(int target, vector<vector<int> > array) { bool found = false; if(array[0].size()>0&&array.size()>0) { int row = 0; int column = array[0].siz 阅读全文
posted @ 2018-12-03 19:56 奇异硕士 阅读(98) 评论(0) 推荐(0)