效果如下:
main.html
menu.html
Table of Contents
<a...
分类:
其他好文 时间:
2015-05-25 22:25:02
阅读次数:
211
栈 1 Stack-EMPTY(S) 2 if top[S]=0 3 then return TRUE 4 else return FALSE 5 6 PUSH(S,x) 7 top[S]←top[S]+1 8 S[top[S]]←x 9 10 POP(S)11 if STACK-...
分类:
编程语言 时间:
2015-05-25 22:18:47
阅读次数:
148
首先定义顺序栈的存储结构 1 /* 栈的顺序存储结构 2 **/ 3 #define STACK_INIT_SIZE 100 //存储空间的初始分配量 4 #define STACK_INCREMENT 10 //存储空间的分配增量 5 typedef int SElemType; 6 typed....
分类:
其他好文 时间:
2015-05-25 22:14:35
阅读次数:
206
遇到了这个js异常, 总是吧浏览器搞崩溃,这是什么原因呢?开始我也只能想到死循环, 也许是哪个条件判断写错了,其实不是。经过google,发现了一篇文章,内容请看:=================================================================文章地...
分类:
Web程序 时间:
2015-05-25 21:59:56
阅读次数:
309
//点击不同按钮生成不同页面加载到某个panel上面。procedure TMainForm.DemoButtonClick(Sender: TObject);var NewDemoClass: TFormClass; //TFormClass = class of TForm; 涉及到类的类 .....
堆栈(Stack)代表了一个后进先出的对象集合。usingSystem;
usingSystem.Collections;
namespaceCollectionsApplication
{
classProgram
{
staticvoidMain(string[]args)
{
Stackst=newStack();
st.Push(‘A‘);
st.Push(‘M‘);
st.Push(‘G‘);
st.Push(‘W‘);
Console.WriteLine("C..
链接 :
??
http://acm.hust.edu.cn/vjudge/problem/viewProblem.action?id=28292
求强连通分量的个数。
#pragma comment(linker, "/STACK:10240000,10240000")
#include
#include
#include
#include
#include
#...
分类:
其他好文 时间:
2015-05-25 06:09:39
阅读次数:
121
官方的文档连接:https://open.weixin.qq.com/cgi-bin/frame?t=resource/res_main_tmpl&lang=zh_CNJava代码private IWXAPI api; Java代码// 微信注册初始化 api = WXAPIFactory.cre....
分类:
微信 时间:
2015-05-24 23:10:15
阅读次数:
331
高性能HTML一、避免使用iframe iframe也叫内联frame,可将一个HTML文档嵌入另一个HTML文档中。 iframe的好处是,嵌入的文档独立于父文档,通常也借此使浏览器模拟多线程。缺点是: ①虽然iframe能模拟多线程,但主流浏览器的同域名并行下载数是不变的,浏览器对同域名的...
分类:
Web程序 时间:
2015-05-24 21:45:30
阅读次数:
165
package org.loda.graph;
import org.loda.structure.Stack;
import org.loda.util.In;
/**
*
* @ClassName: Topological
* @Description: 拓扑排序是所有节点dfs的逆后序,也就是每个节点任务完成的时间的逆...
分类:
编程语言 时间:
2015-05-24 20:28:47
阅读次数:
161