Form1.cs[csharp]view
plaincopyusingSystem;usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Data;usingSystem.Drawing;usingSystem....
分类:
其他好文 时间:
2014-05-18 20:04:33
阅读次数:
362
import android.annotation.SuppressLint;import
android.app.Activity;import android.content.Context;import
android.content.Intent;import android.os.Buil...
分类:
移动开发 时间:
2014-05-18 19:43:22
阅读次数:
502
package main import ("fmt")//对象定义type Rect
struct{x,y float64width ,height float64} //对象方法实现func (r *Rect)
Area()float64{return r.width*r.height}//Go语...
分类:
其他好文 时间:
2014-05-18 19:36:55
阅读次数:
405
先序遍历和中序遍历非递归代码:#include #include using
namespace std;typedef struct BinaryTree { int data; struct BinaryTree *rchild,
*lchild;}BinaryTree;int cr...
分类:
其他好文 时间:
2014-05-17 21:56:50
阅读次数:
264
System.Data.Entity.DbFunctions.DiffDays(cs.StartTime.Value,DateTime.Now)
== 0//只获取当天ORXX.StartTime.Value.Date.Equals(DateTime.Now.Date)//只获取当天
分类:
其他好文 时间:
2014-05-17 21:46:34
阅读次数:
2805
mysql_affected_rows: 得到 MySQL 最后操作影响的列数目。
mysql_close: 关闭 MySQL 服务器连接。 mysql_connect: 打开 MySQL 服务器连接。 mysql_create_db:
建立一个 MySQL 新数据库。 mysql_data_see...
分类:
数据库 时间:
2014-05-17 21:42:27
阅读次数:
268
取的文件大小1.int fd = open("data.txt",O_RDONLY); int
len = lseek(fd,0,SEEK_END);2.structstatsb; if ((fstat(fd, &sb)) == -1) {
perror("fstat"); }sb.st_size3...
分类:
编程语言 时间:
2014-05-17 21:24:29
阅读次数:
267
在研究了IOS中几种数据存储的技术 (1)XML属性列表 —— PList
(2)NSKeyedArchiver 归档 (3)Preference(偏好设置) (4)SQLite3 (5)Core
Data(以面向对象的方式操作数据库SQLite) 之后,比较有心得的体会:虽然通过文件...
分类:
移动开发 时间:
2014-05-17 21:05:04
阅读次数:
494
最近这几天,不知道突然玩超级猜图玩疯了,最后觉得还是不过瘾,干脆下了ipa,运用素材自己写了一个,没想到居然实现了大部分功能,真开心,直接上图:上代码,不足之处,还望牛人支出,不胜感激:
1 #import "JHViewController.h" 2 #import "JHAppDate.h...
分类:
其他好文 时间:
2014-05-17 21:00:28
阅读次数:
568
$_POST$HTTP_RAW_POST_DATAphp://input先来讲以上三者的区别:
$_POST:以关联数组方式组织提交的数据, 并对原数据进行编码处理(urldecode)和编码转换, 无论表单enctype为何值,
$_POST都可以成功取到传值, 但是碰到不能识别解析的(比如PO....
分类:
Web程序 时间:
2014-05-17 20:18:39
阅读次数:
399