- 博客(3)
- 收藏
- 关注
原创 迷宫问题 栈解决
#include<iostream>using namespace std;struct zhan { int size; int* top; int* base;};int main(){ zhan mg; mg.base = new int[50]; mg.size = 50; mg.top = mg.base; int k = 0;int f = 0; int i = 1, j = 1; int ...
2022-03-30 19:46:03 60
原创 任意俩矩阵相乘
#include<iostream>using namespace std;int main(){ int shu1, shu2; cout << "输入矩阵一的横数" << endl; cin >> shu1; cout << "输入矩阵一的列数" << endl; cin >> shu2; int a[10][10]; for (int i =...
2022-02-27 01:01:44 287
原创 c++信息管理系统(仅存放姓名和电话)
#include <iostream>#include<string>using namespace std;struct lxr { string name; string tel;};struct book{ int num; lxr arr[100];};void jia(book* ren){ cout << "请输入姓名" << endl; string name; c...
2022-01-28 13:30:21 718
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人