Form1.cs[csharp]view
plaincopyusingSystem;usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Data;usingSystem.Drawing;usingSystem....
分类:
其他好文 时间:
2014-05-18 20:04:33
阅读次数:
362
先序遍历和中序遍历非递归代码:#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
This post introduces the challenge and related
solution (Atomic, Locks) on Thread Safety.
分类:
编程语言 时间:
2014-05-17 21:09:33
阅读次数:
500
在研究了IOS中几种数据存储的技术 (1)XML属性列表 —— PList
(2)NSKeyedArchiver 归档 (3)Preference(偏好设置) (4)SQLite3 (5)Core
Data(以面向对象的方式操作数据库SQLite) 之后,比较有心得的体会:虽然通过文件...
分类:
移动开发 时间:
2014-05-17 21:05:04
阅读次数:
494
$_POST$HTTP_RAW_POST_DATAphp://input先来讲以上三者的区别:
$_POST:以关联数组方式组织提交的数据, 并对原数据进行编码处理(urldecode)和编码转换, 无论表单enctype为何值,
$_POST都可以成功取到传值, 但是碰到不能识别解析的(比如PO....
分类:
Web程序 时间:
2014-05-17 20:18:39
阅读次数:
399
一、首先先明白get与post的基本定义和区别:这是两种在客户端和服务器端进行请求-响应的方法。1get:从指定的资源请求数据。2post:向指定的资源提交要处理的数据。get基本上用于从服务器取回数据,注意:get方法可能返回缓存数据。post可以从服务器上获取数据,不过,post方法不会缓存数据...
分类:
编程语言 时间:
2014-05-17 18:52:51
阅读次数:
388
#include //#include #include #define PORT 5150
#define DATA_BUFSIZE 8192 typedef struct { OVERLAPPED Ov...
分类:
其他好文 时间:
2014-05-17 18:37:33
阅读次数:
297