循环链表的原理很简单,这里就不在赘述。下面是循环链表的测试代码: 主函数所在文件: circularlistwithheader.cpp /* * 主函数 */ #include<iostream> #include "circularlistwithheader.h" using namespace std; int main(int argc, char *argv[]) { //测试构造函数 circularListWithHeader<int>y,z; cout<<
---- binSort.cpp /* * 这里是主函数的执行文件 * binSort.cpp */ #include<iostream> #include"studentrecord1.h" #include"chainwithiterator.h" #include"myexceptions.h" void binSort(chain<studentRecord>& theChain,int range) { chain<studentRecord> *bin; b
---- 主函数: // test the class arrayList that uses STL algorithms #include<iostream> #include "linearList.h" #include "arrayList.h" using namespace std; int main() { // test constructor linearList<double> *x = new arrayList<double>(20); arrayList<i
QT5.1编译后的安装目录问题(硬路径问题) 这个是我的编译参数: configure -ltcg -confirm-license -opensource -platform win32-msvc2010
);//and return to your old flags this->showNormal(); } } } Qt 真是各种坑呐 补充: 该方法对qmainwindow无效, 在Qt5.1
I really love this library :) But currently I have a problem with a project being migrated to Qt5.1 from Now I have migrated to Qt5.1 and it seems QWinMigrate does not process queued events anymore.
,element+listSize,element+listSize+1); element[theIndex] = theElement; listSize++; } ---- 以下是可以在Qt5.1