显示中文会变成乱码解决方案:Windows- >Pereferences-
>General->Workspace- >Text File Encoding
选项下选择other,然后输入"GBK"即可当然你系统安装了东亚字体的支持才行,控制面板-区域选项里安装。
分类:
系统相关 时间:
2014-05-10 10:12:30
阅读次数:
358
这两道题用递归的解法都很简单,只是稍有不同。下面是AC代码: 1 /** 2 * Given a
binary tree, find its minimum depth. 3 * the minimum depth is the number of
nodes along th...
分类:
其他好文 时间:
2014-05-10 08:47:32
阅读次数:
271
今天大部分时间静下来编码,处理了另外两位同事敦促的接口问题,而没有真心按照自己的规划解决我认为的项目中可能会存在的各种问题,并明确出优先级来解决掉。总是找各种借口和一些琐事来填满正常的上班时间,然后不能全身心投入解决真正重要的事,解决掉这些该做的事的困难进而让自己更强大。或许天性都是逃避困难,此时刻...
分类:
其他好文 时间:
2014-05-10 02:01:01
阅读次数:
241
// test.cpp : Defines the entry point for the
console application.//#include "stdafx.h"#include #include #include
"winioctl.h"#define IOCTL_STORAGE_QU...
分类:
其他好文 时间:
2014-05-05 10:52:44
阅读次数:
370
eclipse版本:4.3在eclipse中搜索时,搜索完之后有时候会弹出错误对话框,错误摘录如下:Resource
is out of sync with the file
system......分析:这个问题是由于eclipse中文件不同步引起的。在eclipse中,工程文件是由eclipse...
分类:
系统相关 时间:
2014-05-05 10:51:16
阅读次数:
443
linux系统下.vimrc文件(这个文件可以在家目录新建);这个文件记录着vim的配置信息;如:"显示行号set
number"键映射map“如按F5,在word的前后加入{}map i{ea}
分类:
其他好文 时间:
2014-05-05 10:12:32
阅读次数:
274
在bash提示符下,使用Del键或者Backspace键都能删除光标左右的字符,但是一旦进入sqlplus之后,只能使用Del键来删除光标左侧的字符,使用Backspace键则显示^H,使用ctrl+H也能删除字符。如果要在sqlplus下仅仅使用Backspace来删除字符,那么有两种方法: .....
分类:
数据库 时间:
2014-05-05 10:05:33
阅读次数:
388
typeof用以获取一个变量或者表达式的类型,typeof一般只能返回如下几个结果:number,boolean,string,function(函数),object(NULL,数组,对象),undefined。如:alert(typeof
(123));//typeof(123)返回"number...
分类:
其他好文 时间:
2014-05-05 09:37:22
阅读次数:
435
We consider permutations of the numbers 1,..., N
for some N. By permutation we mean a rearrangment of the
number 1,...,N. For example
2 4 5 1 7 6 3 8
is a permutation of 1,2,...,8. Of cours...
分类:
其他好文 时间:
2014-05-04 18:38:14
阅读次数:
341
在执行该命令时出现下列错误SYS@PROD>altersystemsetUTL_FILE_DIR=‘/home/oracle‘,‘/home/oracle/temp‘,‘/home/oracle/scripts‘scope=spfile;altersystemsetUTL_FILE_DIR=‘/home/oracle‘,‘/home/oracle/temp‘,‘/home/oracle/scripts‘scope=spfile*ERRORatline1:ORA-32001:wr..
分类:
其他好文 时间:
2014-05-04 17:08:06
阅读次数:
386