了解一下BinaryReader 和BinaryWirte基元类型:using System;using System.Collections.Generic;using System.IO;using System.Linq;using System.Text;namespace ConsoleA...
分类:
其他好文 时间:
2015-10-14 13:55:18
阅读次数:
105
DAL层的封装并不是很好,有些地方还要修改,往后面我们就会发现问题。下面就是对BLL层的封装了,同样以UserInfo要有一个BLL类UserInfoService,其他的实例也有一个Service类同样是对IDAL层的调用,又要抽象出一个基类BaseService来 1 using DALFact...
分类:
Web程序 时间:
2015-10-14 12:32:37
阅读次数:
202
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading;namespace FZJ.Lock{ /// /// 等值锁定 //...
Login.csusing System;using System.Collections;using System.Configuration;using System.Data;using System.Data.SqlClient;using System.Web;using System.W...
分类:
Web程序 时间:
2015-10-14 12:03:24
阅读次数:
194
题目: 一直树的前序遍历和中序遍历,求后序遍历。分析: 递归.对于每个子树,前根序第一个是根,找到它在中根序的位置,就能确定左右子树,然后递归求解。代码: #include #include #include #include using namespace std;char tq[27],t...
分类:
其他好文 时间:
2015-10-14 11:55:33
阅读次数:
144
--重启数据库 FORCE APPLICATION ALL DB2STOP DB2START --创建数据库 CREATE DATABASE mysdedb USING CODESET UTF-8 TERRITORY US COLLATE USING SYSTEM USER TABLESPACE M...
分类:
数据库 时间:
2015-10-14 11:52:36
阅读次数:
281
vijosP1388 二叉树数链接:https://vijos.org/p/1388【思路】 Catalan数。根据公式h=C(2n,n)/(n+1)计算。首先化简为 (n+i)/i的积(1 2 #include 3 using namespace std; 4 5 struct Bign { 6....
分类:
其他好文 时间:
2015-10-14 10:23:50
阅读次数:
174
1 // 头一次写这种带位运算的题,不会啊 > 5 #include 6 #include 7 #define MAX 4500 8 using namespace std; 9 int ans,vis[MAX];10 bool ck(int x,int pos)11 {12 if( (...
分类:
其他好文 时间:
2015-10-13 22:56:02
阅读次数:
310
这道题我改啊,改啊,交啊,就对了。#include #include #include #include#include using namespace std;const int N = 10000005;const int M = 100005;int a[N];int p[M];int tre...
分类:
其他好文 时间:
2015-10-13 22:51:16
阅读次数:
274
输入一个五位数,把这个位数单独的分成阿拉伯数字,并且把这五个数字用四个空格彼此分开逆顺序输出,例如用户输入31455,则输出5 5 4 1 3代码如下: using System;using System.Collections.Generic;using System.Lin...
分类:
其他好文 时间:
2015-10-13 22:42:03
阅读次数:
235