2017年6月14日
摘要: #include #include #include #include #include #include/*包含tolower()函数和ispunct函数;ispunct() 函数用来检测一个字符是否为标点符号或特殊字符*/ #include using namespace std; int main(int argc, char**argv) { //map的定... 阅读全文
posted @ 2017-06-14 16:12 明静志远 阅读(389) 评论(0) 推荐(0) 编辑
  2017年6月10日
摘要: 如果一个运算符函数是成员函数,则它的第一个(左侧)运算对象绑定到隐式的this指针上,所以成员运算符函数的(显式)参数数量比运算符的运算对象少一个。即一个参数有两个运算对象。 IO运算符一般被声明为友元。 #include <iostream> using namespace std; class 阅读全文
posted @ 2017-06-10 21:46 明静志远 阅读(250) 评论(0) 推荐(0) 编辑
  2017年6月3日
摘要: 约瑟夫问题: 阅读全文
posted @ 2017-06-03 16:51 明静志远 阅读(161) 评论(0) 推荐(0) 编辑
  2017年5月28日
摘要: C小作业,通过这个深刻了解到 字符串指针只是指向字符串中的第一个字符。同时学习了strstr,strcpy,strncpy,strcat等函数的使用。 阅读全文
posted @ 2017-05-28 17:50 明静志远 阅读(1161) 评论(0) 推荐(0) 编辑
摘要: 1 #include <iostream> 2 #include <string> 3 using namespace std; 4 5 typedef enum iStatus { Sendtothewarehouse, Hasstarted, Ontheway, Arriveatthewareh 阅读全文
posted @ 2017-05-28 16:17 明静志远 阅读(185) 评论(0) 推荐(0) 编辑
  2017年5月21日
摘要: 记一次尝试。 阅读全文
posted @ 2017-05-21 13:32 明静志远 阅读(228) 评论(0) 推荐(0) 编辑
  2017年5月10日
摘要: 2017 5.10 我目前就读川大本科大二,第一篇文章,纯属个人的大学生活感想。 大一青涩,现在想来可以用无知形容,没找到笃定前行的方向,然而厌恶了现在的专业——风景园林。以下吐槽。此专业在我川真的是巨水,本身国内没多少开这个专业的,2012教育部学科评估排名倒数,在一个985院校里面的专业连个普通 阅读全文
posted @ 2017-05-10 23:29 明静志远 阅读(743) 评论(0) 推荐(0) 编辑