目录结构:a、supporting files:main.m和资源文件xxx-info.plist:包含应用程序相关属性列表,如版本,程序名等.pch文件:预编译头文件,相当于MFC里的stdafx.h,默认已经包含了常用的头文件.strings文件:国际化字符串资源图片等其他资源b、framewo...
分类:
移动开发 时间:
2014-08-16 00:55:59
阅读次数:
265
Not so MobileBefore being an ubiquous communications gadget, a mobile was just a structure made of strings and wires suspending colourfull things. Th....
分类:
其他好文 时间:
2014-08-15 12:39:28
阅读次数:
249
1 def info(object, spacing=10, collapse=1): 2 """Print methods and doc strings. 3 4 Takes module, class, list, dictionary, or string."""...
Given an array of strings, return all groups of strings that are anagrams....
分类:
其他好文 时间:
2014-08-14 20:39:29
阅读次数:
219
C -Surprising Strings题意:输入一段字符串,假设在同一距离下有两个字符串同样输出Not surprising,否则输出surprising。DescriptionTheD-pairsof a string of letters are the ord...
分类:
其他好文 时间:
2014-08-14 20:18:19
阅读次数:
211
Description
Problem B - BFS (Binary Fibonacci String)
We are familiar with the Fibonacci sequence (1, 1, 2, 3, 5, 8, ...). What if we define a similar sequence for strings? Sounds interesting? Let...
分类:
其他好文 时间:
2014-08-14 10:45:58
阅读次数:
252
# include
# include
# include
using namespace std;
int len;
char a[1000010];
int next[1000010];
void Getnext()
{
int i=0,j=-1;
next[0]=-1;
while(i<=len)
{
if(j==-1||a[j]==a[...
分类:
其他好文 时间:
2014-08-13 22:34:17
阅读次数:
262
在Fedora 13 系统上编译busybox(非交叉编译)产生错误
root@localhost # make
...
gcc -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wularations -Wdeclaration-after-statement -Wold-style-defini...
分类:
其他好文 时间:
2014-08-13 13:11:46
阅读次数:
315
spinner下拉列表框的列表项有两种配置方式:1.通过资源文件配置,通过在values种的xml,比如strings.xml中使用元素添加制定列表项内容,然后通过android:entries=”@array/xxid”的方式进行链接。2.通过android.widget.ArrayAdapter...
分类:
移动开发 时间:
2014-08-13 12:20:26
阅读次数:
266
poj 2406 Power Strings(KMP求循环次数)...
分类:
其他好文 时间:
2014-08-13 10:31:48
阅读次数:
203