摘要:
终于弄懂了这个级联,我去!必须得在博客记下来。1, JS代码: 1 $(document).ready(function(){ 2 $("#select1").change(function(){ 3 adjustCountyDropDown(); 4 }); 5 }... 阅读全文
摘要:
一、创建一个javaBean类:UseBeanpackage com.oncall24h.ruchi;import java.io.Serializable;public class UseBean implements Serializable { private String userna... 阅读全文
摘要:
一书中的第二章练习3(P33)使用Python的Pygame库import sys, pygame, random #导入库文件from pygame.locals import *pygame.init() #初始化white= 0, 0, 0 #定义颜色pos_x= 300 #定... 阅读全文
摘要:
这些东西有点烦,有点无聊。如果要去C++面试就看看吧。几年前网上搜索的。刚才看到,就整理一下,里面有些被我改了,感觉之前说的不对或不完善。转自fangyukuan,地址http://www.cnblogs.com/fangyukuan/archive/2010/09/18/1829871.html。... 阅读全文
摘要:
本文参考阮一峰老师的KMP算法,重点是“部分匹配表”的建立。算法可参考http://kb.cnblogs.com/page/176818/ 。/** kmp.cpp* Author: Qiang Xiao* Time: 2015-07-18*/#include#includeusing ... 阅读全文
摘要:
很久没有接触二叉树了,写这个当作练手,接下来会比较详细地实现二叉树的各个功能及应用。/** BinaryTree.cpp* Author: Qiang Xiao* Time: 2015-07-17*/#include#includeusing namespace std;templa... 阅读全文
摘要:
/** simpleIndex.cpp* Author: Qiang Xiao* Time: 2015-07-13*/#include#includeusing namespace std;int simpleIndex(const string&, const string&, int... 阅读全文
摘要:
/* LList.cpp* Author: Qiang Xiao* Time: 2015-07-12*/#includeusing namespace std;class Node{ public: int data; Node* ptr; Node(int... 阅读全文
摘要:
/* LList.cpp* Author: Qiang Xiao* Time: 2015-07-12*/#includeusing namespace std;class Node{ public: int data; Node* ptr; Node(int... 阅读全文
摘要:
/* SList.cpp Author: Qiang Xiao Time: 2015-07-11*/#includeusing namespace std;const int MAX_LENGTH= 20;class SList{ private: int max_len... 阅读全文