简单题 题目描述 输入一个字符串,统计其出现频率最高的字符,并输出。若存在两个字符出现频率相同,则输出字典序较小的那一个 输入描述 :一个字符串,保证没有空格,以回车符结束,字符串长度#includeusing namespace std;void main(){ string s; cin...
分类:
其他好文 时间:
2014-07-02 23:45:21
阅读次数:
355
关于Http 的method:GETAsks to get the thing (resource / file) at the requested URL.POSTAsks the server to accept the body info attached to the request, an...
分类:
其他好文 时间:
2014-07-02 23:42:07
阅读次数:
215
Tue Jul 1 17:52:22 2014 [ReM][D]: Req:3472 UID:0 AclInfo invokedTue Jul 1 17:52:22 2014 [ReM][D]: Req:3472 UID:0 AclInfo result SUCCESS, "0..."Tue J.....
分类:
其他好文 时间:
2014-07-02 23:36:13
阅读次数:
290
functionajaxFunction(){varxmlHttp;try{//Firefox,Opera8.0+,SafarixmlHttp=newXMLHttpRequest();}catch(e){try{//InternetExplorerxmlHttp=newActiveXObject("...
分类:
其他好文 时间:
2014-07-02 23:34:57
阅读次数:
201
根据sql命令创建数据库或者数据表时候,判断库或者表是否存在比较重要。//要创建的表是否已经存在 function isHaveTable( $dbName,$tableN, $con) //数据库名, 表名, 连接参数 {//数据库存在的情况下 才开始判断表是否存在 $db_selected =....
分类:
Web程序 时间:
2014-07-02 23:24:34
阅读次数:
335
cls [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint") foreach ($webApplication in Get-SPWebApplication) { Write-Host Write-Hos...
分类:
其他好文 时间:
2014-07-02 23:12:01
阅读次数:
232
usingSystem;usingSystem.Web;usingThoughtWorks.QRCode.Codec;usingThoughtWorks.QRCode.Codec.Data;usingThoughtWorks.QRCode.Codec.Util;usingSystem.IO;usin...
分类:
Web程序 时间:
2014-07-02 23:11:25
阅读次数:
320
session存储在服务器端,保存在文件或数据库中。默认情况下,php.ini 中设置的 SESSION 保存方式是 files(session.save_handler = files),即使用读写文件的方式保存 SESSION 数据,而 SESSION 文件保存的目录由 session.save...
分类:
Web程序 时间:
2014-07-02 23:09:23
阅读次数:
224
这里选取图片,规格如下: 大小: 关键代码: using System;using System.Diagnostics;using System.Drawing;using System.Drawing.Imaging;using System.IO;using System.Runtime.In...
分类:
其他好文 时间:
2014-07-02 23:02:34
阅读次数:
379
public static string HashPassword(string password) { if (password == null) { throw new ArgumentNul...
分类:
Web程序 时间:
2014-07-02 23:01:49
阅读次数:
292