using System;using System.Collections.Generic;using
System.Linq;using System.Runtime.InteropServices;using System.Text;namespace
Common{ public cla...
分类:
数据库 时间:
2014-05-21 20:41:53
阅读次数:
333
话说RFID以前很火所以整理一下一年前自己处理的RFID程序,放源码.一开始觉得他是个很神奇的东西。 包含串口通讯和网络通讯。
由于网络通讯设备太贵,所以国内的设备基本上都是在外置一个比较便宜的模块在里面。 本案例应该适用于大多数的RFID模块。首先我们先放上RFID
API:如下using Sys...
题目链接题意 :给出一幅不完全的纸牌.算出哪些牌丢失了.思路 : 算是背包一个吧。if
f[j]>0 f[j+a[i]] += f[j];然后在记录一下路径。 1 //1244 2 #include 3 #include 4 #include
5 6 using namespace std ...
分类:
其他好文 时间:
2014-05-21 20:19:58
阅读次数:
339
无聊写了个高精度模板玩玩...... 1 /* 2 高精度(压位储存) 3 */ 4
#include 5 #include 6 #include 7 #include 8 #include 9 const int
MAX=10005;//最长长度 10 using ...
分类:
其他好文 时间:
2014-05-21 19:47:19
阅读次数:
588
http://acm.hdu.edu.cn/showproblem.php?pid=1358求某个前缀的周期,用Next求循环节的题目#include
#include #include #include using namespace std ;char B[1000005] ;int Next[...
分类:
其他好文 时间:
2014-05-21 19:23:01
阅读次数:
241
1.介绍 该教程涵盖了1.8版本的C#驱动中的LINQ查询。你可能已经阅读最新的C#
Driver Tutorial。 2.快速开始 首先,给程序添加下面的using声明 using
MongoDB.Driver.Linq;然后,像往常一样,获取一个collection的引用变量:var colle...
分类:
其他好文 时间:
2014-05-21 19:14:39
阅读次数:
385
Two elements of a binary search tree (BST) are
swapped by mistake.Recover the tree without changing its structure.Note:A
solution using O(n) space is ...
分类:
其他好文 时间:
2014-05-21 19:11:16
阅读次数:
266
使用JavaScriptSerializer类,适用Web平台
C#将对象序列化成JSON字符串
using System.Web.Script;
using System.Web.Script.Serialization;
JavaScriptSerializer serializer = new JavaScriptSerializer();...
分类:
Web程序 时间:
2014-05-21 15:52:44
阅读次数:
606
#include
#include
using namespace std;
class Point
{
public:
Point(double a,double b):x(a),y(b) {}
double getx()
{
return x;
}
double gety()
{
return y;
...
分类:
其他好文 时间:
2014-05-21 10:09:26
阅读次数:
309
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
us...
分类:
其他好文 时间:
2014-05-21 09:36:30
阅读次数:
302