摘要:
源程序: #include <iostream>using namespace std; class B;class A{private: int i;public: int set(B&); int get() { return i; } A(int x) { i = x; }}; class B 阅读全文
摘要:
源程序: #include <stdio.h> //求最大值的函数int highest(int m[3][4]) //形式参数是二维数组{ int a = m[0][0]; //认为第一个数是最大值 int i, j; for (i = 0; i < 3; i++) //外层循环控制行 { for 阅读全文