目录:/svn/project创建SVN项目svnadmincreate--fs-typefsfs/svn/project/xxx(*不一定需要做)初始化导入:svnimport/home/softwarefile:///svn/project/xxx--message"初始化版本"查看导入的文件:svnlist--verbosefile:///svn/project/first启动SVN:svnserve-d-r/svn/project..
分类:
其他好文 时间:
2014-07-29 16:03:49
阅读次数:
234
队列(queue)
队列是一种先进先出(first in first out,FIFO)的线性表。它只允许在表的一端(队尾/rear)插入元素,而在另一端(队头/front)删除元素。插入操作称为入队或进队,删除操作称为出队或离队。队列示意图如下:
1、 顺序队
队列的顺序存储结构需要使用一个数组和两个整型变量来实现,数组用于存储队列中的所有元素,两个整型变量分别用于存储队头元素...
分类:
其他好文 时间:
2014-07-29 15:12:48
阅读次数:
251
#include
#include
#include
#define MAXN 5000+5
#define MAXM 200+5
typedef struct Dic{
char str[MAXN];
struct Dic* next;
}Dic;
Dic *head;
char word[MAXM];
int cnt=0;
int get_word();
void conver...
分类:
其他好文 时间:
2014-07-29 14:55:28
阅读次数:
156
A stack is collection that implements the last-in-first-out protocal.This means that the only access object in the collections is the last one thatwas inserted.The fundamental operations of a stack a...
分类:
其他好文 时间:
2014-07-29 14:53:28
阅读次数:
218
LDD和各种结构体的故事
struct scull_dev位置:scull/scull.h
struct scull_dev {
struct scull_qset *data; /* Pointer to first quantum set */
int quantum; /* the current quantum size */
i...
分类:
其他好文 时间:
2014-07-29 14:52:16
阅读次数:
269
Description
Given a positive integer N, you should output the most right digit of N^N.
Input
The input contains several test cases. The first line of the input is a single integer...
分类:
Web程序 时间:
2014-07-29 14:47:28
阅读次数:
270
最近这几天写了个T4自动实现EF code first和Ado的存储过程。使用过程中发现了一个Sql的类型为HierarchyId。看到时真是百思不得齐姐。算了查一下MSDN吧。从微软官网找到了HierarchyId类型。悲催了。这个字段没有对应C# CLR类型。使用EF6时报错,提示我应该是用B....
分类:
其他好文 时间:
2014-07-29 14:05:28
阅读次数:
278
The Utopian tree goes through 2 cycles of growth every year. The first growth cycle of the tree occurs during the monsoon, when it doubles in height. ...
分类:
其他好文 时间:
2014-07-29 11:57:26
阅读次数:
190
?1.代码 2.代码$(document).ready(function() { var upPic = $("#pictrue>a").first(); // 上次显示的图片 var nowPic; // 当前显示的图片 var n...
分类:
编程语言 时间:
2014-07-28 23:56:04
阅读次数:
604
为了将一个函数的必要参数变为可选参数,需要为这个参数提供一个缺省值 >>>?def?print_lol(the_list,level)????????????#这两个参数都是必要的
>>>?def?print_lol(the_list,level=0)??????...
分类:
编程语言 时间:
2014-07-28 17:01:44
阅读次数:
322