摘要:
#include <iostream> #include <iomanip> using namespace std; struct wo{ string Name; int ml; int id; int money; }; int main(){ int cl=10; wo teas; teas 阅读全文
摘要:
#include <iostream> using namespace std; int *f(int a[][2]){ for(int i=0;i<2;i++){ for(int j=0;j<2;j++){ a[i][j]++; } } return *a; } int main(){ int a 阅读全文
摘要:
#include <iostream> //二维数组在函数中的传递 //1.一维数组 //2.函数√ //3传递的方式√ //4.返回二维数组 using namespace std; int main(){ /* 1.二维数组的初始化定义: int a[][];//定义方式错误,编译不成功 int 阅读全文