• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
demps_c
博客园    首页    新随笔    联系   管理    订阅  订阅
2014年10月9日
小错误
摘要: evbuffer_new?.was not declared in this scope错误处理办法首先突然出现了这个错误,首先查看/usr/include/event.h文件,里面是有这个函数的可是为什么显式这个错误呢估计是还有别的地方也有event.h文件里面没有这个函数名,但是被include... 阅读全文
posted @ 2014-10-09 16:22 demps_c 阅读(154) 评论(0) 推荐(0)
2014年9月29日
vim设置
摘要: set nusyntax onset autoindentset tabstop=2set numberset cindentset smartindentset autochdirset smarttabset softtabstop=2set shiftwidth=2将此保存为.vimrc文件保... 阅读全文
posted @ 2014-09-29 16:48 demps_c 阅读(130) 评论(0) 推荐(0)
2014年9月20日
安装ddd
摘要: Linux安装DDD (2013-06-24 11:51:35)转载▼标签:it分类:电子电脑原文转自:http://blog.csdn.net/unix21/article/details/8450040dd是一个优秀的调试器,安装ddd破费周折必须安装x开发环境1.下载http://ftp.... 阅读全文
posted @ 2014-09-20 16:13 demps_c 阅读(374) 评论(0) 推荐(0)
2014年9月14日
极其重要的分析
摘要: #include using namespace std;class a{ public: a(){ value ++; cout using namespace std;class a{ public: a(){ ... 阅读全文
posted @ 2014-09-14 00:19 demps_c 阅读(156) 评论(0) 推荐(0)
2014年9月9日
epoll 的两种用法
摘要: struct epoll_event 的data成员是一个union类型里面要么就是fd,要么就是ptr最好不要一会用ptr一会用fd最好坚持从头到尾的使用一个第一种只是使用epoll_event.data.fd#include #include #include #include #include... 阅读全文
posted @ 2014-09-09 21:32 demps_c 阅读(2038) 评论(0) 推荐(0)
2014年9月7日
man帮助文档
摘要: 第一次命令是 yum -y install *man*,此时应该是能找到标准c的库文件第二次是安装c++的帮助文档,wgetftp://gcc.gnu.org/pub/gcc/libstdc++/doxygen/libstdc++-man.4.4.0.tar.bz2tar -xvflibstdc++... 阅读全文
posted @ 2014-09-07 13:54 demps_c 阅读(336) 评论(1) 推荐(0)
2014年9月1日
avl树
摘要: #include using namespace std;int chy_max(int t1,int t2){ if(t1 left); cout value right); } } private: ... 阅读全文
posted @ 2014-09-01 15:03 demps_c 阅读(168) 评论(0) 推荐(0)
2014年6月17日
成功之路
该文被密码保护。 阅读全文
posted @ 2014-06-17 13:33 demps_c 阅读(0) 评论(0) 推荐(0)
2014年5月27日
求解一个数组中连续元素最大值
摘要: 第一种实现是以O(N3) 即以n的三次方实现的,这个算法很简单,想法特别明显第二种以O(N2) 即以n的二次方实现,算法简单,但是仍然不够好第三种 O(N*log(N)) ,以n乘以log(N),采取分治法解决问题,当然也采取了递归的思想。第四种O(N),这个方法就无敌了,线性时间,如果数组是在磁盘... 阅读全文
posted @ 2014-05-27 10:43 demps_c 阅读(553) 评论(0) 推荐(0)
2014年5月26日
数据结构第二章
摘要: 如果存在正常数c和n0使得当N>=n0时,T(N)=n0,T(N) >= c*f(N),则记为T(N) =Ω((f(N)) 大于等于 读作:omegaT(N) =Θ(h(N)) 当且仅当T(N)= O(h(N))且T(N) =Ω(h(N)) 等于 读作:t... 阅读全文
posted @ 2014-05-26 21:59 demps_c 阅读(178) 评论(0) 推荐(0)
下一页
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3