摘要:
CMake Error: CMake was unable to find a build program corresponding to "MinGW"... 准备在qt上使用opencv, 按照 QT教程(https://wiki.qt.io/How_to_setup_Qt_and_openC 阅读全文
摘要:
这个时候不能从前往后删,因为会破坏後面的元素的索引值,比如如果第删除了第2个元素,第3个元素的索引就会变为第2个元素的索引,造成混乱,甚至引起程序崩溃。应该从後往前删。 代码: #include<iostream> #include<vector> #include<algorithm> int m 阅读全文