• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






luwudang

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

2018年9月17日

simulate cat command
摘要: 1 #include <stdio.h> 2 #include <stdlib.h> 3 4 int main(int argc,char **argv) 5 { 6 FILE *fp; 7 8 //check command usage 9 if(argc != 2) 10 { 11 fprint 阅读全文
posted @ 2018-09-17 11:05 luwudang 阅读(157) 评论(0) 推荐(0)
 
use imagination0
摘要: 1 #include <stdio.h> 2 #include <stdlib.h> 3 4 int main(void) 5 { 6 FILE *fp; 7 /* char arr[100]; */ 8 9 //write sth to T.txt 10 fp = fopen("T.txt","w 阅读全文
posted @ 2018-09-17 10:44 luwudang 阅读(95) 评论(0) 推荐(0)