给Eclipse安装PyDev插件启用Eclipse————如果前面的步骤都正确无误的话,那么Eclipse就该能够正常启动了。第一次启动会让你选择一个工作空间,按缺省设置,勾选一下不再提醒,就可以了。在Help菜单中,选择Install
New Software···,选择Add按钮,Name:P...
分类:
其他好文 时间:
2014-05-10 08:42:11
阅读次数:
450
1、将listbox1拖到窗体后添加字符串项listBox1.Items.Add("item1");Done
分类:
其他好文 时间:
2014-05-10 01:31:56
阅读次数:
227
Given two wordsword1andword2, find the minimum
number of steps required to convertword1toword2. (each operation is counted as 1
step.)You have the fol...
分类:
其他好文 时间:
2014-05-10 01:09:28
阅读次数:
325
Given two words word1 and word2, find the
minimum number of steps required to convert word1 to word2. (each operation is
counted as 1 step.)You have t...
分类:
其他好文 时间:
2014-05-09 19:09:35
阅读次数:
318
add是将传入的参数作为当前List中的一个Item存储,即使你传入一个List也只会另当前的List增加1个元素addAll是传入一个List,将此List中的所有元素加入到当前List中,也就是当前List会增加的元素个数为传入的List的大小eg:result.addAll(list);//把...
分类:
其他好文 时间:
2014-05-09 18:18:10
阅读次数:
275
JavaScript中的两个等号(==)和三个等号(===):Determining whether
two variables are equivalent is one of the most important operations in
programming.
分类:
编程语言 时间:
2014-05-09 11:44:17
阅读次数:
579
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
在VS 2008 中,导入 lua.h 之类的头文件后,编译含有Lua函数的时候,可能会出现如下错误:
1>main.obj : error LNK2019: 无法解析的外部符号_luaL_checkinteger,该符号在函数"int __cdecl add(struct lua_State *)" (?add@@YAHPAUlua_State@@@Z) 中被引用
1>main.ob...
分类:
其他好文 时间:
2014-05-04 18:34:20
阅读次数:
376
给两个长度分别为n和m的序列,现在有两种操作:1.分别选择两个序列的一个非空前缀,切两个前缀的最后一位相同,删除之,得到1分(只累计),消耗e;2.直接删除两个序列,消耗值定于两个序列之前删除的元素个数之和,并且使得得到的分有效(之前没有有效分)...
分类:
其他好文 时间:
2014-05-04 18:10:51
阅读次数:
287
ADD指令:把两个数值相加,将结果放到第一个寄存器里面。格式:ADD寄存器名,数值ADD寄存器名,寄存器名addax,11addbx,22PS:清空数据:movax,0000两者数值的存储容量位数要匹配--------------------------------------------------------------------------------------------..
分类:
其他好文 时间:
2014-05-04 17:02:52
阅读次数:
370