
读书笔记
文章平均质量分 76
yubaibai1111
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
<The C++ Programming Language> 读书笔记
1.2 The most important thing to do when learning C++ is to focus on concepts and not get lost in language-technical details. The difference between C and C++ is primarily in the degree of emphasi原创 2012-02-26 21:29:28 · 1237 阅读 · 0 评论 -
Daemon进程示例
Linux下Daemon进程示例。 将进程ID写入到文件中,并对文件加锁,确保只有一个daemon进程在运行。此外,有信号处理函数示例。 (备注:参考大名鼎鼎的 APUE中示例,整理而出 :)) #include using namespace std; //TO BE ADDED #include #include #include #include #include原创 2012-03-11 20:58:51 · 1004 阅读 · 0 评论 -
UNIX.shell范例精解 - 摘录
SHELL是一个工具程序,是用户与内核交互的接口。 要清除僵尸进程,必须重启 改变文件所有者:chown root filename bash: declare -x 定义局部变量; declare -a 定义数组; `ls`和$(ls)在bash下同样。 整型算术运算 ((n= $j+$k)); 数值比较的问题: 有2种:1.类似C语言的比较,用(())包含,比如if原创 2012-05-05 13:02:17 · 843 阅读 · 0 评论 -
<Programming_in_Lua> 笔记(未完)
学习Tips: http://blog.codingnow.com/cloud/LuaTips Lua提供的机制是C所不擅长的,比如:高级语言、动态结构、简洁、易于测试和 调试等。正因为如此,Lua 具有良好的安全保证,自动内存管理,简便的字符串处理功 能及其他动态数据的改变。 通常情况下,组件(或对象)表现为具体在程序开发过程中很少变化的、占用大量 CPU 时间的决定性的程序,例如窗口原创 2012-05-19 14:58:40 · 561 阅读 · 0 评论