摘要: 今天又研究了一会链表,完成了小学期的第二个项目,附代码: #include<iostream>#include<fstream>#include<string>#include<vector>using namespace std;struct StudentInfo{ int itsnumber; 阅读全文
posted @ 2020-07-18 20:32 sean1246 阅读(27) 评论(0) 推荐(0)
摘要: 离小学期结束还有三天,今天完成了小学期的第二个项目,用标准函数库完成学生成绩管理系统。明天继续研究链表。 代码: #include<iostream>#include<fstream>#include<string>#include<vector>using namespace std;struct 阅读全文
posted @ 2020-07-18 20:30 sean1246 阅读(74) 评论(0) 推荐(0)
摘要: 中午下火车,又坐了一下午车,晚上八点到家,也没有打代码。 阅读全文
posted @ 2020-07-18 20:26 sean1246 阅读(36) 评论(0) 推荐(0)
摘要: 坐了一天火车。火车轰隆隆的晃得我头晕。 阅读全文
posted @ 2020-07-18 20:25 sean1246 阅读(28) 评论(0) 推荐(0)
摘要: 今天完成了下学期的的第九个项目,链表实在没有学过,只能自学,一天下来确实没学到什么东西。明天一早坐火车,做一天多,不敲代码。 #include<bits/stdc++.h>using namespace std;list<int> a;bool flag = 0;class link{public: 阅读全文
posted @ 2020-07-18 20:24 sean1246 阅读(29) 评论(0) 推荐(0)
摘要: 今天完成小学期的第7个项目,也就是猜数字,并且及时,用到了time函数,了解了什么叫做多线程。明天研究链表 代码: #include <iostream>#include <time.h>using namespace std;class game{public: int h,m,s,sum; vo 阅读全文
posted @ 2020-07-18 20:17 sean1246 阅读(27) 评论(0) 推荐(0)
摘要: 今天完成小学期的第六个项目,也就是井字棋,井字棋的规矩是死的,先手有可能赢,后手最多平局。明天研究小学期的第七个项目。 附代码: #include <iostream>#include <time.h>#pragma onceusing namespace std;int win=0;class g 阅读全文
posted @ 2020-07-18 20:15 sean1246 阅读(35) 评论(0) 推荐(0)
摘要: 今天完成了小学期的第五个项目,也就是石头剪刀布游戏,并且在多轮游戏后分析玩家的风格。简单的来说就是用电脑产生随机数,对随机数的范围进行规定,从而对电脑出拳进行规定。明天研究小学期的第六个项目,附代码 #include <iostream>#include <cstdlib>#include <cti 阅读全文
posted @ 2020-07-18 20:06 sean1246 阅读(10) 评论(0) 推荐(0)