Effective C++ Chapter 1. 让自己习惯C++(Accustoming Yourself to C++) Item 1. 视C++为一个语言联邦(View C++ as a federation of languages) 将 C++ 视为由四个次语言组成的语言联邦,在某个次语言...
分类:
编程语言 时间:
2015-04-21 20:21:32
阅读次数:
151
不知道为什么,我就是特别讨厌别人指使我做事,所以,我尽量从不指使别人去做什么,或者说谁谁什么做的不对,或者是什么。我觉得谁都没有权力去指使别人去干什么,你又不是别人,你怎么知道别人做决定的无奈与考虑。还有我觉得自己的事情自己去做好了,明明自己能做,偏偏是自己懒不去做,让别人去帮自己做,我也很不喜欢这...
分类:
其他好文 时间:
2015-04-20 22:33:55
阅读次数:
131
题目:
Implement atoi to convert a string to an integer.
Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below and ask yourself what are the possible i...
分类:
其他好文 时间:
2015-04-20 15:04:26
阅读次数:
114
题目:Given a binary tree, imagine yourself standing on therightside of it, return the values of the nodes you can see ordered from top to bottom.For exa...
分类:
其他好文 时间:
2015-04-20 13:12:01
阅读次数:
155
Do Lots of Deliberate PracticeJon JaggerDELiBERATE PRACTiCE iS NOT SiMPLY PERFORMiNG A TASK. If you ask yourself, “Why am I performing this task?” and your answer is, “To complete the task,” then you’r...
分类:
其他好文 时间:
2015-04-20 09:29:31
阅读次数:
137
Implement a Shell by yourself -- MIT xv6 shell
这个其实是作为6.828的一个小课堂作业 ...
着重分析构建思想和过程,具体代码实现去github可以找到.
https://github.com/jasonleaster/MIT_6_828_assignments_2012/blob/homework1/sh.c
...
分类:
系统相关 时间:
2015-04-19 06:30:39
阅读次数:
256
String to Integer (atoi)
Implement atoi to convert a string to an integer.
Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below and ask yourself ...
分类:
其他好文 时间:
2015-04-17 15:46:41
阅读次数:
133
Binary Tree Right Side View2015.4.17 06:04Given a binary tree, imagine yourself standing on therightside of it, return the values of the nodes you can...
分类:
其他好文 时间:
2015-04-17 07:12:41
阅读次数:
142
Given a binary tree, imagine yourself standing on therightside of it, return the values of the nodes you can see ordered from top to bottom.For exampl...
分类:
其他好文 时间:
2015-04-16 23:42:02
阅读次数:
159
Counting Sundays
Problem 19
You are given the following information, but you may prefer to do some research for yourself.
1 Jan 1900 was a Monday.Thirty days has September,
April, June a...
分类:
编程语言 时间:
2015-04-16 10:27:29
阅读次数:
170