上一页 1 2 3 4 5 6 7 8 9 10 ··· 14 下一页
摘要: 1.WebbenchWebbench是一个在linux下使用的非常简单的网站压测工具。它使用fork()模拟多个客户端同时访问我们设定的URL,测试网站在压力下工作的性能,最多可以模拟3万个并发连接去测试网站的负载能力。Webbench使用C语言编写, 代码实在太简洁,源码加起来不到600行。下载链... 阅读全文
posted @ 2015-09-05 18:28 lwn6 阅读(538) 评论(0) 推荐(0) 编辑
摘要: 1、http://snippets.dzone.com/tag/c/--数以千计的有用的C语言源代码片段2、http://www.hotscripts.com/category/c-cpp/scripts-programs/ Hotscripts --提供数以百计的C和C++脚本和程序。所有程序都分... 阅读全文
posted @ 2015-09-05 18:25 lwn6 阅读(192) 评论(0) 推荐(0) 编辑
摘要: // Attempt to run the file. System.Diagnostics.Process.Start(filename);//folderCol 可以存放一个路径的 栈(用于返回功能的设计)private System.Collections.Specialized.St... 阅读全文
posted @ 2015-09-05 11:58 lwn6 阅读(506) 评论(0) 推荐(0) 编辑
摘要: netstat -aon|findstr "8001" //查看端口tasklist|findstr "15312" //根据PID找到对应的程序taskkill /f /t /im netbox.dll //强制终止程序 阅读全文
posted @ 2015-09-01 19:35 lwn6 阅读(378) 评论(0) 推荐(0) 编辑
摘要: 利用百度地图的服务将经纬度转换为米单位坐标 结果: 官方开发说明:http://developer.baidu.com/map/changeposition.htm 获取密钥:http://lbsyun.baidu.com/apiconsole/key 我自己的密钥:http://lbsyun.ba 阅读全文
posted @ 2015-08-25 18:28 lwn6 阅读(836) 评论(0) 推荐(0) 编辑
摘要: 错误提示如下:尝试向 URI“http://localhost:8396/Service1.svc”发出请求时出错。这可能是由于试图以跨域方式访问服务而又没有正确的跨域策略,或策略不适用于 SOAP 服务。您可能需要与该服务的所有者联系,以发布跨域策略文件并确保该文件允许发送 SOAP 相关的 HT... 阅读全文
posted @ 2015-08-25 13:15 lwn6 阅读(407) 评论(0) 推荐(0) 编辑
摘要: 一、构建动态链接库(dll.dll dll.lib dll.h)说明:.dll 是在执行程序是调用 .lib 是在连接程序是调用 .h是在编译程序时调用 1.头文件(声明导入函数):_declspec(dllimport) int add(int a,int b);//(头文件不参加.dll文件的生... 阅读全文
posted @ 2015-08-22 19:26 lwn6 阅读(329) 评论(0) 推荐(0) 编辑
摘要: STL /C# /QT /Python 阅读全文
posted @ 2015-08-22 18:35 lwn6 阅读(89) 评论(0) 推荐(0) 编辑
摘要: // reading an entire binary file#include #include #include #includeusing namespace std;int main () { streampos size; char * memblock; char * ... 阅读全文
posted @ 2015-08-22 18:00 lwn6 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 0、头文件:#include; using namespace std;1、定义: vectorvec;2、迭代器vector::iterator it; vector::const_iterator it; vector::reverse_iterator it; vector::cons... 阅读全文
posted @ 2015-08-22 16:26 lwn6 阅读(648) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 14 下一页
什么是幸福?天天在做自己想做的事情,家人、同事、朋友、客户、网友都和和睦睦,身体健康、钱包鼓鼓、女朋友天天开心、生活无忧无虑就是最大的幸福