冒泡排序:#include #include #include #define N 100000#define M 100000void show_arr(int * a,int n){ int i; for(i = 0; i a[j+1]) { temp = a[j]; a[j] = a[j+1]...
分类:
其他好文 时间:
2014-08-09 00:00:36
阅读次数:
357
深入理解Flash Player重绘Flash Player 会以SWF内容的帧频速度来刷新需要变化的内容,而这个刷新的过程,我们通常称为“重绘(redraw)”,相信即便是初级的菜鸟也知道,只要使用的是Debug版本的Flash Player, 右键菜单里就会有“Show Redraw Regio...
分类:
其他好文 时间:
2014-08-08 21:10:16
阅读次数:
215
在一些网页应用中,有的时候需要前台之间传递参数,通过JS语法来做一些判断处理。发送端:(a页面)跳转到b页面 PS:其中的问号后面的 show=true就是传递的参数名称及值。接收端:(b页面)//通过准则表达式来获取对用的值function getURLParameter(name) {re...
分类:
Web程序 时间:
2014-08-08 17:39:16
阅读次数:
228
一台unibilling机器前几天突然负载变重. 在top中发现cpu被大量占用. agi程序运行的很慢,并出现僵尸进程. 其实当时只有50个左右的并发呼叫. 远远达不到正常水准. 重新启动机器问题也没得到解决. 非常奇怪.考虑到在top中看到mysqld占用的资源最多,就进入mysql控制台,运行...
分类:
数据库 时间:
2014-08-08 17:34:46
阅读次数:
189
--创建 MyCompany数据库use masterexecute sp_configure 'show advanced options',1 --开启权限reconfigureexecute sp_configure 'xp_cmdshell',1reconfigureexecute xp_....
分类:
数据库 时间:
2014-08-08 15:29:16
阅读次数:
286
1、一般情况下,系统默认的Dialog显示位置为屏幕居中:
pbDialog = new ProgressDialog(MainActivity.this);
pbDialog.setMessage("请稍等,加载中");
pbDialog.show();
2、设置Dialog显示位置在屏幕底部:
pbDialog = new ProgressDialog(MainActivity....
分类:
移动开发 时间:
2014-08-08 12:47:35
阅读次数:
193
public void downLoadApk()
{
final ProgressDialog pd = new ProgressDialog(this);
pd.setTitle("正在下载...");
pd.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
pd.show();
FinalHttp fh = new FinalHt...
分类:
其他好文 时间:
2014-08-08 02:02:45
阅读次数:
216
1、错误描述
SCRIPT5007:无法获取属性“show”的值,对象为null或未定义
dojo.js,行15.字符11808
2、错误原因
require(["dijit/registry"],function(registry){
registry.byId("id").show();
});
3、解决办法...
分类:
其他好文 时间:
2014-08-07 23:04:55
阅读次数:
227
Start an installation from GRUBDescriptionThis tip will show you how to start an installation for network or hard disk from an existing GRUB bootloade...
分类:
其他好文 时间:
2014-08-07 23:00:34
阅读次数:
289
题目链接:http://acm.hnu.cn/online/?action=problem&type=show&id=12868&courseid=272解题报告:输入n*m的地图,+表示土地,-表示水,要你求这个海岛的海岸线有多长,扫一遍就可以了。 1 #include 2 const int m...
分类:
其他好文 时间:
2014-08-07 22:50:45
阅读次数:
267