码迷,mamicode.com
首页 >  
搜索关键字:void 0    ( 62627个结果
java 发送http json请求
public void getRemoteId(HttpServletRequest request,Model model){ String name = request.getParameter("userName"); String gender = request.getParamete.....
分类:编程语言   时间:2014-05-16 06:48:05    阅读次数:294
线程池的使用,未完待续
#include "stdafx.h"#include #include #include using namespace std;INT i;VOID CALLBACK Fun(PTP_CALLBACK_INSTANCE Instancd,PVOID Context,PTP_WORK Work){...
分类:编程语言   时间:2014-05-16 06:42:47    阅读次数:421
(iframe实现)无刷新上传图片
Index.aspx 页面 iframe实现无刷新上传图片 Addimg2.aspx页面 Addimg2.aspx.cs 页面protected void Butt...
分类:其他好文   时间:2014-05-16 06:28:03    阅读次数:286
字符串数组逆序
1 import java.util.Arrays; 2 import java.util.Comparator; 3 4 class ResStrSort{ 5 public static void main(String[] args) { 6 String strs...
分类:其他好文   时间:2014-05-16 05:43:09    阅读次数:260
boost::interprocess(1)
发送端:#include #include #include using namespace std;#include #include #include using namespace boost::interprocess;int num = 0;mapped_region *mp_r;void...
分类:其他好文   时间:2014-05-15 16:05:06    阅读次数:258
调bug心得及一个很二的bug
有时候运行结果错误,但是vs没抛异常,这时可以用trycatch来帮我们捕捉异常。 例如:bug的情况是treeview只显示一个根节点和一个子节点,还不报错,我擦~ private void f_script_Load(object sender, EventArgs e) { List parents = new t_scriptsBLL().g...
分类:其他好文   时间:2014-05-15 07:06:00    阅读次数:202
HashMap的遍历和排序
1.HashMap的遍历 package com.sheepmu; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry; public class KMPText { public static void main(String[] ar...
分类:其他好文   时间:2014-05-15 07:05:19    阅读次数:507
第七章 快速排序
快速排序最坏情况下时间复杂度是O(n*n),但是它平均时间复杂度是O(N*logn),并且常数因子很小,可实现就地排序,所以被作为内排序的常用排序方法. #include using namespace std; void swap(int &i,int &j) { int temp=i; i=j; j=temp; } int partition(int *vector...
分类:其他好文   时间:2014-05-15 06:05:35    阅读次数:254
自定义数据转换
@InitBinder 在controller中注册一个customer protperty editor以解析request中的参数并通过date bind机制与handler method中的参数做绑定。@InitBinderpublic void initBinder(WebDataBinde...
分类:其他好文   时间:2014-05-14 13:34:32    阅读次数:229
Qt设置windows系统时间
Qt设置windows系统时间网上的回答很多,但很少有一步到位的,一般会有8小时时差,下面给出直接解决代码: #include "windows.h"void Dialog::setTime() { SYSTEMTIME st; GetLocalTime(&st);//关键在这里 st.wHour....
分类:Windows程序   时间:2014-05-14 10:29:48    阅读次数:308
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!