会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
湛雷冲
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
2015年6月6日
larbin源码之global.h
摘要: 1 /** This represent a connection : we have a fixed number of them 2 * fetchOpen links them with servers 3 * fetchPipe reads those which are linked 4...
阅读全文
posted @ 2015-06-06 09:59 湛雷冲
阅读(236)
评论(0)
推荐(0)
2015年6月4日
c++ containers
摘要: 顺序容器array(C++11)vectorstringdequeforward_list(C++11)list容器适配器stackqueuepriority_queue关联容器setmultisetmapmultimap无序关联容器(C++11)unordered_setunordered_mul...
阅读全文
posted @ 2015-06-04 16:04 湛雷冲
阅读(197)
评论(0)
推荐(0)
c++函数
摘要: 1,传值与传引用 传引用:修改实际作用与变量,“别名”,不需要拷贝; const: const int var=1;常量,不能修改,顶层。 const int *p;指向常量的指针,可指向变量/常量,但不能通过p修改。 int const *p;常量指针,必须初始化...
阅读全文
posted @ 2015-06-04 15:54 湛雷冲
阅读(179)
评论(0)
推荐(0)
linux select函数 shutdown函数
摘要: #include#includeint select(int maxfdp1,fd_set *readset,fd_set *writeset,fd_set *exceptset,const timeval *timeout);*timeout: 1,NULL,永远等待;2,等待固定时间(tv_s...
阅读全文
posted @ 2015-06-04 15:27 湛雷冲
阅读(361)
评论(0)
推荐(0)
GDB十分钟教程
摘要: 作者: liigo原文链接:http://blog.csdn.net/liigo/archive/2006/01/17/582231.aspx日期: 2006年1月16日本文写给主要工作在Windows操作系统下而又需要开发一些跨平台软件的程序员朋友,以及程序爱好者。GDB是一个由GNU开源组织发布...
阅读全文
posted @ 2015-06-04 15:01 湛雷冲
阅读(171)
评论(0)
推荐(0)
2014年11月25日
linux curses函数库
摘要: fedora20,安装yum install ncurses-devel编译时:-lncurses头文件:#include参考:man ncurses \linux程序设计一,屏幕1, 以initscr()开始,以endwin();结束 WINDOW *initscr(void); //初始化 ...
阅读全文
posted @ 2014-11-25 11:53 湛雷冲
阅读(1622)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
公告