前言
本代码为清华大学出版社 数据结构一书 习题1-3
欢迎大家参考学习
运行结果
部分代码
int main()
{
SimpleType x1 = 27, x2 = -21;
string s = "I love C++";
double a[n];
double x = 4.365;
int b[n];
int c[m][n];
for (int i = 0; i < n; i++)
{
a[i] = double(rand() % 10);
b[i] = int(rand() % 200);
}
for (int i = 0; i < m; i++)
for (int j = 0; j < n; j++)
c[i][j] = int(rand() % 100);
one(x1, x2);
two(s);
three(a);
four(x);
five(b);
six(c);
}
代码获取途径
如需完整代码,请点击以下链接进行购买:https://download.youkuaiyun.com/download/m0_54688810/19746939