会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
今夜星光灿烂
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
下一页
2016年7月5日
c traps and pitfalls reading note(1)
摘要: 看c缺陷与陷阱的心得。
阅读全文
posted @ 2016-07-05 22:56 ashen~
阅读(125)
评论(0)
推荐(0)
2015年6月22日
比较好的进程篇总结(转)
摘要: 原文:http://www.cnitblog.com/guopingleee/archive/2007/09/18/33687.html一.多进程程序的特点 由于UNIX系统是分时多用户系统, CPU按时间片分配给各个用户使用, 而在实质上应该说CPU按时间片分配给各个进程使用, 每个进程都有自己的...
阅读全文
posted @ 2015-06-22 09:56 ashen~
阅读(378)
评论(0)
推荐(0)
2015年6月9日
shell学习日志
摘要: 0.shell的变量同环境变量不同,存在用户环境区。 变量赋值的方式是: variable_name = variable_value a= "hello" $a对a进行取值 关于变量,还需要知道几个与其相关的Linux命令。 首个字符必须为字母(a-z,A-Z)。 中间不能有空格,可以使用下划线(...
阅读全文
posted @ 2015-06-09 23:41 ashen~
阅读(157)
评论(0)
推荐(0)
2015年6月1日
IPC--消息队列
摘要: //rec.c#include#include#include#include#includetypedef struct { long msgtype; char msgdata[512];}msgbuf;int main(){ msgbuf msgRec; int iRe...
阅读全文
posted @ 2015-06-01 00:33 ashen~
阅读(305)
评论(0)
推荐(0)
2015年5月10日
c进程学习日志
摘要: #include#include#include#includeint main(int argc,char **argv){ pid_t my_pid,parent_pid; pid_t te ; my_pid=getpid(); parent_pid=getppid(...
阅读全文
posted @ 2015-05-10 23:40 ashen~
阅读(246)
评论(0)
推荐(0)
2015年5月3日
c--socket通信TCP篇
摘要: 程序调处来时候还是很高兴的。server向client发消息,client向server发消息。//s.c 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 8 #define POR...
阅读全文
posted @ 2015-05-03 17:57 ashen~
阅读(7441)
评论(0)
推荐(0)
2015年5月1日
c语言文件操作总结
摘要: #include/************************************************************************/// FILE *fopen(const char *filename,const char *mode)// FILE *fre...
阅读全文
posted @ 2015-05-01 23:23 ashen~
阅读(207)
评论(0)
推荐(0)
c的面向对象思想记录
摘要: 在一家公司做实习生,努力学习,keep moving。//c1.h1 typedef struct {2 char tansID[2+1];3 int (*tr)();4 } trans;View Code//c1.c 1 #include 2 #include 3 #include...
阅读全文
posted @ 2015-05-01 11:31 ashen~
阅读(168)
评论(0)
推荐(0)
c指针学习小结(参考别人总结的经验)
摘要: 指针学习与总结一、1.int *p :p与*先结合,说明p是一个指针,然后与int结合说明指向的是一个int型的。2.int p[3] :p与[]结合说明p是一个数组,然后与int结合,说明数组里的元素是int型的。3.int *p[3]: p与[]结合说明p是一个数组,后与*结合,说明数组的指针...
阅读全文
posted @ 2015-05-01 11:06 ashen~
阅读(189)
评论(0)
推荐(0)
2015年4月28日
vi 学习记录
摘要: i 光标所在前插入 I 光标所在行的第一个非空字符前进入输入模式 a 光标所在后插入 A 光标所在最后插入 o 光标所在列下新增一列并进入输入模式 O 光标所在列上新增一列并进入输入模式 退出 :q,:q!,:wq或:x x 删除光标所在的字符 dd 删除一行 dw ...
阅读全文
posted @ 2015-04-28 23:34 ashen~
阅读(151)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
下一页
公告