// 生成订单号 public static String setRandomChar() {
String str = ""; for (int i = 0; i < 10; i++) { int ch = (int) (10 * (Math...
分类:
其他好文 时间:
2014-06-11 12:07:04
阅读次数:
262
R1-S1/1-----------S1/0-R2
相关说明:在链路建立的第2个阶段进行用户验证,最常用的认证协议有口令验证协议PAP和挑战-握手协议CHAP。口令验证协议PAP是一种简单的明文验证方式,这种验证方式的安全性较差,第三方可以很容易的获取被传送的用户名和口令;挑战-握手验证协议CH..
分类:
其他好文 时间:
2014-06-10 18:58:12
阅读次数:
392
按先序遍历创建一棵树,以层次遍历输出
样例输入
A B # D # # C E # # F # #
样例输出
LevelOrder: A B C D E F
代码:
#include
#include
using namespace std;
struct node { //表示一个树上的节点
char ch;
nod...
分类:
其他好文 时间:
2014-06-10 15:58:02
阅读次数:
295
Given an input string, reverse the string word by word.
For example,
Given s = "the sky is blue",
return "blue is sky the".
Clarification:
What constitutes a word?
A sequence of non-space ch...
分类:
其他好文 时间:
2014-06-10 11:12:06
阅读次数:
185
Hans Rosling是卡罗琳学院的国际卫生学教授,这位学者与众不同的技能是数据可视化,以直观的数据展现了令人信服的世界观,并且在gapminder.org提供无偿展示以及下载。如果你没有看过以下的TED讲座,真心建议你花点时间,保证物有所值:
Hans Rosling: Asia’s rise — how and whenHans Rosling: Let my dataset ch...
分类:
其他好文 时间:
2014-06-10 06:21:50
阅读次数:
336
bool curl_setopt (int ch, string option, mixed
value)curl_setopt()函数将为一个CURL会话设置选项。option参数是你想要的设置,value是这个选项给定的值。下列选项的值将被作为长整形使用(在option参数中指定):?
CURL...
分类:
Web程序 时间:
2014-06-09 20:05:33
阅读次数:
374
原文:浅谈 IE下innerHTML导致的问题先来看个demo吧: 蚂蚁部落 蚂蚁部落一
蚂蚁部落二 蚂蚁部落三 蚂蚁部落四 蚂蚁部落五 可以在IE下测试效果,推荐IE10,IE11浏览本页。测试区-蚂蚁部落一蚂蚁部落二蚂蚁部落三蚂蚁部落四蚂蚁部落五
ch...
分类:
Web程序 时间:
2014-06-07 20:27:31
阅读次数:
287
http://edu.51cto.com/course/course_id-623-page-1.htmlhttp://blog.csdn.net/ch_soft/article/category/913850http://www.cnblogs.com/syxchina/archive/2012/...
分类:
移动开发 时间:
2014-06-07 11:17:46
阅读次数:
243
url = $url; $this->ch = curl_init();
$this->type = $type; } //设置发送方式 0 get 1 post public function setType( ...
分类:
Web程序 时间:
2014-06-04 16:16:05
阅读次数:
201
下载自己需要的apache版本。下载地址:
http://httpd.apache.org/download.cgihttp://www.apachelounge.com/download/解压到/bin/apache/目录下根据/scripts/config.inc.php中定义的全局变量。和ch...
分类:
数据库 时间:
2014-06-02 09:37:37
阅读次数:
330