5th day】的更多相关文章

这阵子真是太忙了, 连续做了四个课设. 当然这并不能作为好久没写博客的借口, 没写博客的主要原因只有一个: 懒. 最近又开始回顾C++的语法与特性(据说C++就是一门需要反复回顾的语言),以及学习C++的编程规范. 敲了C++Primer 5th 上的一道典型的练习题,纪念一下这即将过去的2016. 题目描述: 定义你自己版本的 StrBlobPtr, 更新 StrBlob类, 加入恰当的 friend 声明及begin 和 end 成员. 这道题目主要是练习 智能指针 share_ptr 和…
The 5th tip of DB Query Analyzer             Ma Genfeng   (Guangdong UnitollServices incorporated, Guangzhou510300) Abstract   In DB Query Analyzer, it's very convenientto search key word in SQL edit/ Result area.           Key words   DB Query Analy…
这几天看了C++ primer 5th的一二章,有很多收获,但是有的地方因为翻译的问题也搞得理解起来颇为难受啊啊啊啊.尤其是const限定符,在C语言并没有这么多复杂的语法,在C++里面语法细节就多的不行. 顺便做了两张思维导图 思维导图 细节补充 第一章 这一章没什么好说的,主要介绍了顺序选择循环三种基本语句,输入输出流的概念,注释,ADT(抽象数据类型)的概念初识和类的简单介绍. 由于有C语言的数据结构的基础,所以除了C++自带输入输出流似乎也没什么可说的. 1.iostream 标准输入输…
引言 最近开始学习Spring,了解到<Spring实战>已经出到第五版了,遂打算跟着<Spring实战(第五版)>来入门Spring,没想到这书一点也不严谨,才看到第三章就发现了多处代码问题. 此外,有很多地方都是含糊其辞没有说清楚,如果说此书面向小白却又不注重细节,如果说此书面向有spring基础的人却又过于浅显,吐槽到此结束. 本文记录<Spring In Action 5th>中遇到的错误,长期更新. 第二章 如果你也是一步步跟着<Spring In Ac…
Don't follow the crowd, let the crowd follow you. 不要随波逐流,要引领潮流. But to be a good follower is already very difficult for me, not to mention to be a good leader that let the crowd follow me. We become what we think about. 我们思考什么,就会变成什么. The way we thin…
No matter how far you may fly, never forget where you come from. 无论你能飞多远,都别忘了你来自何方. Stay true to your mission, and don't forget your initial determination. I am building a fire, and every day I train, I add more fuel. At just the right moment, I ligh…
If you smile when no one else is around, you really mean it. 独处的时候你的笑容才是发自内心的笑容. Human beings are social animals. And only in social activities, we become more and more conscious of ourselves. That may lead to two different consequences. The one is t…
#include <iostream> using namespace std; int main() { ][]={,,,,,,,,,,,}; /* for(int (&i)[4]:a) for(int (&j):i) cout<<j<<endl; */ /* for(int i=0;i<3;i++) for(int j=0;j<4;j++) cout<<a[i][j]<<endl; */ /* for(int (*…
Life is made up of small pleasures. 生活由各种细小的幸福构成. Don't expect too much. I am not qualified to get more according to what I have done. I already have enough if compared to many others. But everyone wants more, so do I. I always feel that I am destine…
ZOJ Problem Set - 2965 Accurately Say "CocaCola"!  http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=2965 打表.求含有7或者是7的倍数的数.题目输入p,输出第一个连续出现p个满足条件的头. #include<cstdio> #include<cstring> #include<algorithm> #define mt(a,…