03 2015 档案

摘要:本博客地址:http://www.cnblogs.com/fengbohello/p/4374450.html 1、核心函数说明 核心函数:ShellExecute 函数原型如下: ShellExecute( HWND hwnd, //父窗口句柄 (如:NULL,Handle等) LPCSTR lp 阅读全文
posted @ 2015-03-28 16:56 fengbohello 阅读(1787) 评论(0) 推荐(0) 编辑
摘要:原文地址 : http://www.net-snmp.org/wiki/index.php/FAQ:General_19 Net-SNMP是线程安全的吗? 确切的说,不是。不过呢,在多线程管理的应用进程中是能够使用这个链接库的。这一点在REDMAE文件中已经有过详细的叙述。线程(以标准方式封装和发布 阅读全文
posted @ 2015-03-27 13:50 fengbohello 阅读(1243) 评论(2) 推荐(0) 编辑
摘要:1、本文包括 1)在windows下使用ZMQ 2)在windows环境下与Linux环境下进行网络通信 2、在Linux下使用ZMQ 之前写过一篇如何在Linux环境下使用ZMQ的文章 《ZeroMQ实例-使用ZMQ(ZeroMQ)进行局域网内网络通信》,这里就不再赘述。 3、在Windows环境 阅读全文
posted @ 2015-03-26 21:49 fengbohello 阅读(12561) 评论(10) 推荐(0) 编辑
摘要:1、问题描述 在使用net-snmp对交换机进行扫描的时候经常会出现进程假死的情况(就是进程并没有死掉,但是看不到它与外界进行任何的数据交互)。这时候不知道进程内部发生了什么,虽然有日志信息,但进程已经很长时间没有动静,根本不知道这段时间做了什么。用gdb att进去发现,进行snmp发送的线程已经 阅读全文
posted @ 2015-03-25 15:21 fengbohello 阅读(3356) 评论(0) 推荐(0) 编辑
摘要:共分两个部分,1)创建json、2)解析json1)创建嵌套json的代码char * makeJson(){ cJSON * pRoot = NULL; cJSON * pSub_1 = NULL; cJSON * pSub_2 = NULL; if((pRoot = cJ... 阅读全文
posted @ 2015-03-24 15:43 fengbohello 阅读(7492) 评论(2) 推荐(0) 编辑
摘要:代码#include int binarySearch(int iList[], int iNum, int iX, int * pPos){ if(NULL == pPos) { return -1; } int i = 0, j = iNum; whi... 阅读全文
posted @ 2015-03-22 14:31 fengbohello 阅读(345) 评论(0) 推荐(0) 编辑
摘要:1、Win + __ 1)Win + L 锁屏 2)Win + E 资源管理器(就是打开硬盘) 3)Win + D 回到桌面 4)Win + Tab 3D方式切换程序窗口 5)Win + R 运行命令 例如 输入psr.exe 命令及录像功能 6)Win + X 笔记本... 阅读全文
posted @ 2015-03-22 13:52 fengbohello 阅读(222) 评论(0) 推荐(0) 编辑
摘要:1、起因每次在12306上刷火车票我都会很紧张,尤其是到了10点整、14点整的时候,感觉整个人都不好了,因为每次都抢不到票。可能是我用的是12306网站自己的抢票工具吧,喏,就是下面这样的。每当抢到票的时候,图中标注的地方就会“唔~唔~”的响,让人感觉到精神一震,心情大好。感兴趣的同学可以去试一下,... 阅读全文
posted @ 2015-03-21 23:27 fengbohello 阅读(2100) 评论(8) 推荐(3) 编辑
摘要:ZeroMQ API 目录:http://www.cnblogs.com/fengbohello/p/4230135.htmlZeroMQ 官方地址:http://api.zeromq.org/4-0:zmq-socket翻译:风波mail : fengbohello@qq.com—————————... 阅读全文
posted @ 2015-03-20 23:58 fengbohello 阅读(23659) 评论(2) 推荐(0) 编辑
摘要:C语言运算符优先级优先级运算符名称或含义使用形式结合方向说明1[]数组下标数组名[常量表达式]左到右--()圆括号(表达式)/函数名(形参表)--.成员选择(对象)对象.成员名--->成员选择(指针)对象指针->成员名--2-负号运算符-表达式右到左单目运算符~按位取反运算符~表达式++自增运算符+... 阅读全文
posted @ 2015-03-17 11:25 fengbohello 阅读(266) 评论(0) 推荐(0) 编辑
摘要:原来就一个命令呀:msconfig1、在开始菜单中输入 msconfig 命令,回车2、在弹出的对话框中取消不想启动的程序3、点击应用->确定->不启动 阅读全文
posted @ 2015-03-17 09:21 fengbohello 阅读(541) 评论(0) 推荐(0) 编辑
摘要:直接保存为xx.html文件,双击用浏览器打开,结果为一个不断旋转的动态图,示例请点开链接http://fb.xin3e.com/jsgraph/canvans.html结果截图如下已经过作者同意…… 阅读全文
posted @ 2015-03-16 13:20 fengbohello 阅读(286) 评论(0) 推荐(0) 编辑
摘要:ZeroMQ API 目录:http://www.cnblogs.com/fengbohello/p/4230135.html—————————————————————————————————————ZeroMQ 官方地址:http://api.zeromq.org/4-1:zmq-send-con... 阅读全文
posted @ 2015-03-14 23:38 fengbohello 阅读(1910) 评论(0) 推荐(0) 编辑
摘要:ZeroMQ API 目录:http://www.cnblogs.com/fengbohello/p/4230135.html—————————————————————————————————————ZeroMQ 官方地址:http://api.zeromq.org/4-0:zmq-pgmzmq_p... 阅读全文
posted @ 2015-03-13 23:53 fengbohello 阅读(7627) 评论(3) 推荐(0) 编辑
摘要:快速排序代码#include void printList(int iList[], int iLen){ int i = 0; for(i = 0; i = iRight) { return 0; } int i = iLeft, j = iRight;... 阅读全文
posted @ 2015-03-12 09:51 fengbohello 阅读(265) 评论(0) 推荐(0) 编辑
摘要:ZeroMQ API 目录:http://www.cnblogs.com/fengbohello/p/4230135.html—————————————————————————————————————ZeroMQ 官方地址:http://api.zeromq.org/4-2:zmq-inproczm... 阅读全文
posted @ 2015-03-10 23:30 fengbohello 阅读(9361) 评论(0) 推荐(0) 编辑
摘要:交换排序代码#include void printList(int iList[], int iLen){ int i = 0; for(i = 0; i < iLen; i++) { printf("%d ", iList[i]); } printf("... 阅读全文
posted @ 2015-03-10 09:52 fengbohello 阅读(326) 评论(0) 推荐(0) 编辑
摘要:选择排序代码#include void printList(int iList[], int iLen){ int i = 0; for(i = 0; i < iLen; i++) { printf("%d ", iList[i]); } printf("... 阅读全文
posted @ 2015-03-09 10:48 fengbohello 阅读(180) 评论(0) 推荐(0) 编辑
摘要:ZeroMQ API 目录:http://www.cnblogs.com/fengbohello/p/4230135.html—————————————————————————————————————ZeroMQ 官方地址:http://api.zeromq.org/4-1:zmq-proxy-st... 阅读全文
posted @ 2015-03-07 12:14 fengbohello 阅读(2399) 评论(0) 推荐(0) 编辑
摘要:ZeroMQ API 目录 :http://www.cnblogs.com/fengbohello/p/4230135.html—————————————————————————————————————ZeroMQ 官方地址:http://api.zeromq.org/3-2:zmq-ipczmq_... 阅读全文
posted @ 2015-03-07 11:31 fengbohello 阅读(19490) 评论(0) 推荐(0) 编辑
摘要:本文包括:1)安装Go语言。2)运行第一个Go语言。3)增加vim中对Go语言的高亮支持。1、安装Go语言 本文采用源码安装Go语言,Go语言的源代码在百度网盘http://pan.baidu.com/s/1mguZqhM 1.1、修改环境变量 编辑文件~/.bashrcvim ~/.bashre ... 阅读全文
posted @ 2015-03-07 01:44 fengbohello 阅读(692) 评论(0) 推荐(0) 编辑
摘要:冒泡排序代码#include void printList(int iList[], int iLen){ int i = 0; for(i = 0; i < iLen; i++) { printf("%d ", iList[i]); } printf("... 阅读全文
posted @ 2015-03-06 10:20 fengbohello 阅读(265) 评论(0) 推荐(0) 编辑
摘要:判断字符串是否是回文:1、输入:hello world dlrow olleh输出:12、输入:nihao hello输出:0代码#include #include int palindrome(char * p){ if(NULL == p) { return 0; ... 阅读全文
posted @ 2015-03-05 13:31 fengbohello 阅读(262) 评论(0) 推荐(0) 编辑
摘要:xargs的作用一般等同于大多数Unix shell中的反引号,但更加灵活易用,并可以正确处理输入中有空格等特殊字符的情况。对于经常产生大量输出的命令如find、locate和grep来说非常有用。 阅读全文
posted @ 2015-03-05 13:16 fengbohello 阅读(218) 评论(0) 推荐(0) 编辑
摘要:几年前,我还不会写这个例如:1、向右→旋转5个字符输入:HelloWorld输出:WorldHello2、向右→旋转3个字符输入:HelloWorld输出:rldHelloWo代码 1 #include 2 #include 3 #include 4 5 int scrollstr(char... 阅读全文
posted @ 2015-03-04 11:58 fengbohello 阅读(382) 评论(0) 推荐(0) 编辑
摘要:几年前,我还不会写这个输入:hello world输出:dlrow olleh代码 1 #include 2 #include 3 4 void cvtstring(char * pStr) 5 { 6 if(NULL == pStr) 7 { 8 return... 阅读全文
posted @ 2015-03-03 17:37 fengbohello 阅读(178) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示