- 博客(2)
- 资源 (15)
- 收藏
- 关注
原创 C++运算符重载学习的好例子(thinking in c++)
//:UNARY.CPP -- Overloading unary operators#include using namespace std;class integer { long i; integer* This() { return this; }public: integer (long I = 0):i(I) {} //No side effects takes const& arg
2009-09-04 21:51:00 421 1
原创 C/C++ 排序算法代码综合
#include #define MAXSIZE 20using namespace std;typedef struct{ int r[MAXSIZE+1]; int length;}List;/* 初始化 */void Initial(List &L,int num[],int n){ for(int i=0;i L.r[i]=num[i]; L.length=n-1;}
2009-08-08 09:22:00 615 1
protell元件库包
2009-07-27
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人