摘要:
#include<iostream>using namespace std;template<class T>void mySwap(T&x,T&y){ T temp=x; x=y; y=temp;}template<class T>void bubblesort(T a[],int n){ int 阅读全文
摘要:
#include<iostream>#include<cassert>using namespace std;template<typename T>class OrderList{ public: typedef struct _NODE{ T value; struct _NODE* next; 阅读全文