摘要: http://www.cnblogs.com/kelin1314/archive/2010/11/01/1866224.html 阅读全文
posted @ 2013-01-10 09:59 RightDear 阅读(212) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/weiyingqin/archive/2012/08/04/2623128.html 阅读全文
posted @ 2013-01-10 09:56 RightDear 阅读(188) 评论(0) 推荐(0) 编辑
摘要: smarty原理简介 阅读全文
posted @ 2012-11-06 00:21 RightDear 阅读(7630) 评论(0) 推荐(2) 编辑
摘要: PDO连接,设置属性,解析结果集 事务的简单例子:模拟汇款过程,A账户先减,B账户再加,若出错则抛出异常,事务回滚,try catch 阅读全文
posted @ 2012-11-05 23:28 RightDear 阅读(282) 评论(0) 推荐(0) 编辑
摘要: 数组的定义,遍历 阅读全文
posted @ 2012-11-05 00:49 RightDear 阅读(349) 评论(0) 推荐(0) 编辑
摘要: 递归,函数调用机制,include和require区别 阅读全文
posted @ 2012-11-05 00:26 RightDear 阅读(468) 评论(0) 推荐(0) 编辑
摘要: php基础(一):数据类型,运算符,关于乱码,设置时区 阅读全文
posted @ 2012-11-04 23:51 RightDear 阅读(408) 评论(0) 推荐(0) 编辑
摘要: 选择排序 1 void Select(int *a,int n) 2 { 3 for (int i = 0; i < n; i++) 4 { 5 int lowindex = i; 6 for (int j = i + 1; j < n; j++) 7 { 8 if (a[j] < a[lowindex]) 9 lowindex = j;10 swap(&a[i], &a[lo... 阅读全文
posted @ 2012-08-08 17:57 RightDear 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 索引器:public string this [int index] // 定义索引器{get{return member[index];}set{member[index] = value;}}属性:public int height{get{return height;}set{if(value > 0)height = value;elseConsole.WriteLine("Height值不能为负数");}}code-behind :.cs隐藏文件。(c#写的.cs文件)。windowsphone界面用xaml写的.xml文件数据库连接相关的类:sqlConn 阅读全文
posted @ 2012-07-04 13:01 RightDear 阅读(131) 评论(0) 推荐(0) 编辑
摘要: http://mux.baidu.com/?p=407 阅读全文
posted @ 2012-03-19 14:08 RightDear 阅读(316) 评论(0) 推荐(0) 编辑