08 2015 档案

摘要:之前熟悉C的时候写着玩的,就当做笔记用吧:#include#include#include#include#define MAX 8void print_r(int *arr,int len);static void usage(void){ printf("-s sel... 阅读全文
posted @ 2015-08-14 11:01 lrxing 阅读(323) 评论(0) 推荐(0)
摘要:用文件实现一个计算器,要求可满足多进程同时写,最后得出结果。以下为代码: 0) { } else if($pids[$i] == 0) { while(1) { $fp = fopen($path,'r+'); if($fp) { ... 阅读全文
posted @ 2015-08-05 15:57 lrxing 阅读(365) 评论(0) 推荐(0)