摘要:
#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 阅读全文
posted @ 2023-05-04 21:01
不会JAVA的小袁
阅读(17)
评论(0)
推荐(0)
摘要:
#include<iostream>#include<cassert>using namespace std;template<typename T>class OrderList{ public: typedef struct _NODE{ T value; struct _NODE* next; 阅读全文
posted @ 2023-05-04 20:36
不会JAVA的小袁
阅读(15)
评论(0)
推荐(0)