今天学的hash。说实话还没怎么搞懂,明天有时间把知识点总结写了,今天就小小的写个结题报告吧!题意: 在n (n.(2)创建vector对象,vector vec;(3)尾部插入数字:vec.push_back(a);(4)使用下标访问元素,cout::iterator it;for(it=vec....
分类:
其他好文 时间:
2014-08-05 22:26:30
阅读次数:
297
官方的解释这个类为:/** * A simple, durable, atomic K/V database. *Very inefficient*, should only be * used for occasional reads/writes. Every read/write hits d...
分类:
其他好文 时间:
2014-08-05 22:23:00
阅读次数:
321
安卓activity捕获返回button关闭应用的方法 @Override public boolean onKeyDown(int keyCode, KeyEvent event) { //按下键盘上返回button if(keyCode == KeyEvent.KEYCODE_BACK){ .....
分类:
移动开发 时间:
2014-08-05 22:02:40
阅读次数:
198
在asp.net中使用客户端控件上传文件,代码大致如下:for(int i=0; i 0) { Response.Write (Request.Files [i].FileName ); } }在我的页面中,Request.Files.Count怎么弄都是0...
分类:
Web程序 时间:
2014-08-05 21:51:00
阅读次数:
225
今天按照《公告:CSDN博客频道支持Windows Live Writer离线写博客啦》学着使用Windows Live Writer写CSDN博客,结果碰到了评论中的500 Internal Server Error。 我在进行第三步“设置日志的远程发布网址,填写http://write.blog.csdn.net/xmlrpc/index ”时(见上图)发生错误500 Internal...
FileStream fs;StreamWriter sw;fs=new FileStream(@" ........",FileMode.Creat,FileAccess.Write)//绝对地址sw=new StreamWriter(fs);sw.Write(data);sw.Close();f...
分类:
其他好文 时间:
2014-08-05 13:57:49
阅读次数:
634
1 VK_LBUTTON = 1; 2 VK_RBUTTON = 2; 3 VK_CANCEL = 3; 4 VK_MBUTTON = 4; { NOT contiguous with L & RBUTTON } 5 VK_BACK = 8; 6 VK_TAB = 9; ...
分类:
其他好文 时间:
2014-08-05 13:56:59
阅读次数:
328
Graph Coloring You are to write a program that tries to find an optimal coloring for a given graph. Colors are applied to the nodes of the graph and t...
分类:
其他好文 时间:
2014-08-05 13:31:49
阅读次数:
215
假设有一函数如下privatevoidRealDelete(){Respose.Write("");其他语句}现在知道的情况是,当执行该函数时,并不是执行到Respose语句时就弹出警告框,而是在这个函数的所有语句都执行完毕后才会弹出警告,也就是事实上没有起到警示作用。
分类:
Web程序 时间:
2014-08-05 10:52:49
阅读次数:
196
libcurl有两个接口 easy接口 同步、高效 前缀curl_easy。 multi接口 异步 前缀curl_multi。multi使用单线程 easy使用范例 #include #include #include #include //回调 static size_t write_data(v...
分类:
其他好文 时间:
2014-08-05 09:33:28
阅读次数:
253