http://msdn.microsoft.com/zh-cn/library/ff561306(v=vs.85).aspxThe WinDbg command
line uses the following syntax: windbg [ -server ServerTransport |...
分类:
数据库 时间:
2014-05-20 01:53:32
阅读次数:
1101
题意:容易理解。分析:当n%(p+q)==0时,先取者必胜,必胜方案:先取q,然后对方去x个,先取者就取(p+q-x)个,最后对方就必须取玩p个,当n%(p+q)==r(rp&&r#include#includeint
main(){ int n, p, q; while(scanf("...
分类:
其他好文 时间:
2014-05-20 01:31:58
阅读次数:
233
第七章 循环语句1. 循环语句的老祖宗--Goto语句(可用do…while();代替) 1
//①goto语句的使用(一般情况不用,但想在多重循环中一下子跳到外面时可以用)*******************① 2 int i=0; 3
number: i++; 4...
分类:
其他好文 时间:
2014-05-19 22:45:52
阅读次数:
361
ssize_t generic_file_read(struct file * filp, char
* buf, size_t count,loff_t*ppos)这是一个文件读函数我们很容易看出输入参数中filp 是文件buf
是文件要读到什么地方去,用户bufcount是要读多少东西那么ppo...
分类:
其他好文 时间:
2014-05-19 22:29:53
阅读次数:
640
英文原文:10 Articles Every Programmer Must Read
作为一名 Java 程序员和软件开发人员,那些每个程序员都应该知道的 XXX
的文章教会了我不少东西,它们提供了某个特定领域的一些实用的并且有深度的信息,这些东西通常很难找到。在我学习的过程中我读到过许多非...
分类:
其他好文 时间:
2014-05-19 22:06:41
阅读次数:
399
http://javarevisited.blogspot.sg/2014/05/10-articles-every-programmer-must-read.htmlBeing
a Java programmer and Software developer, I have learned a l...
分类:
其他好文 时间:
2014-05-19 20:38:15
阅读次数:
529
intdelayTime=3;QElapsedTimer
timer;timer.start();while(timer.elapsed()<(delayTime*1000)){app.processEvents();}
分类:
其他好文 时间:
2014-05-17 17:45:54
阅读次数:
209
#include using namespace std;int func(int x){ int
cnt = 0; while (x) { cnt++; x = x&(x - 1); } return cnt;}int main(){ ...
分类:
其他好文 时间:
2014-05-17 14:54:19
阅读次数:
194
(1)最终还是没能参加比赛,一次都没有机会。(2)有梦想,不到最后一刻不会放弃。(3)这里应该会搬次家,转到github上。(4)作为一个新手,什么东西都需要从头学起来,就从最基础的数据结构开始好了。待完成的任务:1-2-3-4-
分类:
其他好文 时间:
2014-05-17 14:38:01
阅读次数:
244
1.Scatter/Gather I/Oa single system call to
read or write data between single data stream and multiple buffersThis type of
I/O is so named because the...
分类:
系统相关 时间:
2014-05-17 14:17:55
阅读次数:
571