原文http://blog.sina.com.cn/s/blog_6b8c3d7a01018803.html一,引入jsonkit NSString *str
= nil; //字符串 NSMutableString *string = [[NSMutableString allo...
分类:
Web程序 时间:
2014-05-12 17:28:46
阅读次数:
304
模式切换的命令:键 进入模式 说明 命令模式 (从编辑模式返回命令模式)按 i,a, o
“插入” 编辑模式 (在当前光标前开始插入)i :在光标前插入 I 光标所在行的行首开始插入a:在光标后开始插入
A:在本行末开始插入o:在光标所在行下另起一行插入 O:在光标上插入新行在命令模式下不要按其它键...
分类:
其他好文 时间:
2014-05-02 16:17:28
阅读次数:
253
源地址:http://unity3d.9tech.cn/news/2014/0402/40149.html在游戏设计过程中定时器是必不可少的工具,我们知道update方法是MonoBehavior中一个人人皆知的定时器方法,每帧都在调用,那还有其他什么定时器的方法呢,这里介绍一下。1.Invoke(...
分类:
其他好文 时间:
2014-05-02 15:27:43
阅读次数:
438
public class cal{public static void main(String[]
args){calculator ca=new calculator();byte[] first=new byte[4];byte[] second=new
byte[4];System.out.p...
分类:
其他好文 时间:
2014-05-02 15:23:23
阅读次数:
395
A regular palindrome is a string of numbers or letters that is the same forward as backward. For example, the string "ABCDEDCBA" is a palindrome because it is the same when the string is read from lef...
分类:
其他好文 时间:
2014-05-02 10:33:09
阅读次数:
332
const : 指定字段或者本地变量不能被修改。readonly :
声明一个字段只能在定义的时候赋值或者在构造函数中赋值。( readonly 可以有不同的值,取决于构造函数的值。 const
是一个编译时的常量,readonly是一个运行时的常量,example:public static re...
分类:
其他好文 时间:
2014-05-02 09:26:05
阅读次数:
304
NSString *str1 = @"a string"; NSString *str2 =
[[NSString alloc] init]; str2 = @"a string"; [str2 release]; NSString *str3 =
[[NSString...
分类:
其他好文 时间:
2014-05-02 09:04:17
阅读次数:
185
许多次通过,主要是没有考虑到这种情况:“A C ”结尾有多重空格的情况。 1 public class
Solution { 2 public int lengthOfLastWord(String s) { 3 int j, k; 4 if(s == nu...
分类:
其他好文 时间:
2014-05-02 08:21:00
阅读次数:
300
Java代码
importjava.io.File;importjava.io.FileNotFoundException;importjava.io.FileOutputStream;importjava.io.FileWriter;importjava.io.IOException;import...
分类:
编程语言 时间:
2014-05-02 06:13:08
阅读次数:
477
foreach (var item in ViewBag.PhotoGroupList) {//
这里很奇怪 item.IS_DISPLAY 是布尔值如果直接写 @item.IS_DISPLAY 如果值为True会变成值会变成 ‘onclick’
,fa...
分类:
Web程序 时间:
2014-05-02 06:00:10
阅读次数:
399