- 博客(5)
- 收藏
- 关注
原创 队列的应用——就诊模拟系统
#include <iostream.h> #include <stdlib.h> #define NULL 0 typedef struct qnode { long int data; //存放元素 struct qnode *next; //下一个节点指针 }QNode; typedef struct { QNode * front; //队首 QNode * rear; //队尾 }LiQueue; void menu(); void
2020-07-03 22:45:06
485
原创 栈的应用——进制转换器
#include <iostream.h> #include <stdlib.h> #define MaxSize 20 typedef struct { char data[MaxSize]; // int top; }SqStack; void Menu(void); void ShowBit(SqStack *s,int x, int r); void InitStack(SqStack *&s); int StackEmpty(SqStack *
2020-07-03 22:35:34
210
原创 线性表链式存储——学生成绩管理系统
????此程序与我的《线性表顺序存储——学生成绩管理系统》实现功能一致这里不再放置程序运行截图 #include <iostream.h> #include <stdlib.h> #define NULL 0 /* 学生管理系统2.0 版 链式存储 by 文丽 */ typedef struct LNode { int data; struct LNode * next; }LinkNode; // 菜单 void Menu(void); /
2020-06-24 16:38:47
2255
原创 线性表顺序存储——学生成绩管理系统
```c #include <iostream.h> #include <stdlib.h> /* 学生管理系统1.0 版 顺序存储 by 文丽 */ typedef struct { int data[35]; int length; }SqList; // 菜单 void Menu(void); // void GetMessage(int a[],int n); //初始化线性表 void InitList(SqList *&.
2020-06-24 16:38:33
2735
1
原创 C语言 简单走迷宫小游戏
跟着视频学的很简单,拿出来分享一下哈! #include <stdio.h> #include <stdlib.h> #include <windows.h> /* 使用键盘上的"w","s", "a","D"控制小球移动, 移动到">"即可胜利 */ main() { char a[50][50]={"#########...
2019-10-12 20:12:33
1034
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人