DataStructure Guide
RaySunWHUT
I am a coder and at the same time, I am a writer.
自认国学初窥门径,写文章胜过写程序。
个人主页: https://raysunwhut.github.io/
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Data Structure Guide: 实验案例2-2:数组元素循环左 / 右移
题目将数组元素循环左右移动固定单位。实验代码:#include<stdio.h>#include<stdlib.h>#include<math.h>#include "Header.h"#pragma warning(disable:4996)int main() { int n, bit; int direction; int a[20] = { 0 }; scanf("%d%d", &n, &bit); for原创 2020-06-14 10:19:26 · 871 阅读 · 0 评论 -
Data Structure Guide: 实验案例 2-1: 简单计算器
题目:模拟简单计算器,运算符无优先级,遇 ‘=’ 结束,非法输入符号报错!实验代码:#include<stdio.h>#include<stdlib.h>#include<math.h>#include "Header.h"#pragma warning(disable:4996)void errorReport(char* string) { printf("%s", string);}int main() { char symbol原创 2020-06-14 09:47:01 · 436 阅读 · 0 评论
分享