转自:http://blog.chinaunix.net/uid-20729677-id-765105.htmldev/zero,是一个输入设备,你可你用它来初始化文件。/dev/zero------该设备无穷尽地提供0(是ASCII
0 就是NULL),可以使用任何你需要的数目——设备提供的要多的...
分类:
其他好文 时间:
2014-05-06 08:49:46
阅读次数:
271
新浪微博关注代码生成地址:http://open.weibo.com/widget/followbutton.php腾讯微博收听代码生成地址:http://dev.t.qq.com/websites/usefollowcompQQ空间关注代码生成地址:http://connect.qq.com/in...
分类:
其他好文 时间:
2014-05-06 00:58:52
阅读次数:
301
1.first of all,take a lookup on the left side
of keyword const.If there is something(type or pointer),then apply const
featureto it.2.nothing found on...
分类:
编程语言 时间:
2014-05-06 00:38:25
阅读次数:
361
software directory: The default directory of
software installed on ubuntu is /usr, so just allocate more space for this
partition when installing oper...
分类:
其他好文 时间:
2014-05-06 00:02:59
阅读次数:
281
# Definition for a binary tree node# class
TreeNode:# def __init__(self, x):# self.val = x# self.left = None# self.right
...
分类:
其他好文 时间:
2014-05-05 22:56:23
阅读次数:
419
今天安装了sublime text2,真是编辑神器,不再用notepad了。
笔记本上没有c++运行环境,用编辑器既轻巧,又方便,VS太臃肿了。 要在sublime text2 下运行c++程序,需要安装dev c++编译器。
注意,这两个软件最好在官网上下载。 从其...
分类:
编程语言 时间:
2014-05-02 16:30:37
阅读次数:
420
Iahub accidentally discovered a secret lab. He
found there n devices ordered in a line, numbered from 1 to n from left to
right. Each device i (1?≤?i?...
分类:
其他好文 时间:
2014-05-02 15:36:19
阅读次数:
314
/:根目录,一般根目录下只存放目录,不要存放文件/bin:可执行二进制文件的目录,如常用的命令ls、tar、mv、cat等/boot:放置linux系统启动时用到的一些文件/dev:存放linux系统下的设备文件,如挂载光驱:mount
/dev/cdrom /mnt/etc:系统配置文件存放的目录...
分类:
其他好文 时间:
2014-05-02 15:29:52
阅读次数:
503
Given a binary tree, determine if it is a valid
binary search tree (BST).Assume a BST is defined as follows:The left subtree of
a node contains only n...
分类:
其他好文 时间:
2014-05-02 15:03:57
阅读次数:
386
出现下列错误:
mlogc.c:32:23: error: curl/curl.h: No such file or directory
mlogc.c:1091: error: expected ‘)’ before ‘*’ token
mlogc.c: In function ‘logc_init’:
出错原因:缺少libcurl-dev or libcurl-devel
...
分类:
其他好文 时间:
2014-05-02 10:50:35
阅读次数:
371