直接插入排序#include typedef int Keytype;typedef struct{ Keytype key; int data;}RecType;void InsertSort(RecType R[],int n){ int i; int j; RecType temp; f...
分类:
其他好文 时间:
2014-06-21 09:52:18
阅读次数:
223
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations:getandset.get(key)- Get the valu...
分类:
其他好文 时间:
2014-06-21 09:18:50
阅读次数:
263
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.IO;using System.Linq;usi...
分类:
其他好文 时间:
2014-06-21 08:14:06
阅读次数:
176
1 --逻辑表达式 2 3 --1+2+3+...+n 4 function fun1(n) 5 local sum = 0 6 for i=1,n do 7 sum = sum + i 8 end 9 return sum 10...
分类:
其他好文 时间:
2014-06-21 08:04:22
阅读次数:
292
客户端代码function login(type) { $.ajax({ type: "post", url: "logindo.aspx", data: { user: $("#name").val(),//对应的值 ...
分类:
其他好文 时间:
2014-06-21 07:36:58
阅读次数:
172
监控server端的安装部署一、apache的安装下载httpd-2.2.15.tar.gz gunzip httpd-2.2.15.tar.gztar xvf httpd-2.2.15.tarcd httpd-2.2.15./configure --prefix=/usr/local/apache...
分类:
移动开发 时间:
2014-06-21 07:24:13
阅读次数:
319
EF分为三类:db first:首先建立数据库,然后通过ADO.Net Entity Data Model项目建立.edmx文件,这是一个xml文件主要作用就是映射类和数据表model first:首先建立.edmx文件,映射类和数据表的关系,然后生成代码code first:首先写代码,如实体对象...
分类:
其他好文 时间:
2014-06-21 06:24:41
阅读次数:
192
All people seem to need data processing( Application presentation session transport network data link physic )host : end device ( PC Server )switch : ...
分类:
其他好文 时间:
2014-06-21 00:01:08
阅读次数:
493
WSS logging database grows very fast and it cause the storage problem most of the time in sharepoint server 2010.To reduce the size of the logging dat...
分类:
数据库 时间:
2014-06-20 22:04:05
阅读次数:
333
select * from opendatasource('SQLOLEDB' , 'Data Source=172.27.xxx.xxx; User ID=Admin;Password=xxx').[数据库名].dbo.表名备注:数据名的中括号和dbo一定要写,不然找不到
分类:
数据库 时间:
2014-06-20 21:33:59
阅读次数:
230