【Enumeration】1、当一个枚举值类型已经确定后,可以使用shorter dot syntax来赋予其它值: 2、对一个枚举值switch的时候也可以使用short dot syntax: 3、Associate Value 定义: 上面extract的值均为const,把...
分类:
其他好文 时间:
2014-06-18 19:01:55
阅读次数:
206
有时在编写struts.xml时会报错,但是找不出有什么她方有问题。也能正常运行MyEclipse有地方去struts的xml进行了验证,经查找把这里的build去掉就可以了
分类:
系统相关 时间:
2014-06-18 16:30:42
阅读次数:
281
syntax:contained in:description:Adds an action to an intent filter.An element must contain one or more elements. If it doesn't contain any, noInten...
分类:
移动开发 时间:
2014-06-18 14:48:12
阅读次数:
252
Caused by: java.util.regex.PatternSyntaxException: Syntax error in regexp pattern near index 1:
E/AndroidRuntime(17429): }
E/AndroidRuntime(17429): ^
E/AndroidRuntime(17...
分类:
其他好文 时间:
2014-06-18 07:46:20
阅读次数:
216
getAttribute
大部分介绍都说只有一个,包括w3cschool
其实这个方法有两个参数!
msdn 上查到的!我就不翻译了,因为看英文是最好的!
Syntax
object.getAttribute(strAttributeName,
lFlags)
Parameters
strAttributeName [in]
Type: String...
分类:
其他好文 时间:
2014-06-17 22:58:25
阅读次数:
215
1 #include "iostream" 2 #include "windows.h" 3 #include "cstring" 4 using namespace std; 5 6 HANDLE g_hSemThreads=INVALID_HANDLE_VALUE; 7 8 static ...
~/.vimrcset number " 显示行号syntax on "自动语法高亮,其实vim7.3版本语法默认是高亮的" colorscheme evening " 一种好看的配色方案colorscheme desert " 一种好看的配色方案set shiftwidth=4 " 设定 > 命令...
分类:
其他好文 时间:
2014-06-15 23:47:47
阅读次数:
259
Example syntax for Secure Copy (scp)What is Secure Copy?scpallows files to be copied to, from, or between different hosts. It usessshfor data transfer...
分类:
其他好文 时间:
2014-06-15 22:30:51
阅读次数:
290
1.枚举所有文件夹(递归)void EnumerateFolders (){ WIN32_FIND_DATA fd; HANDLE hFind = ::FindFirstFile (_T ("*.*"), &fd); if (hFind != INVALID_HANDLE_VALU...
分类:
其他好文 时间:
2014-06-14 23:57:43
阅读次数:
376