搜索结果
找到约 12 项符合
bye 的查询结果
按分类筛选
Linux/Unix编程 应用UNIX的fork()等系统调用
应用UNIX的fork()等系统调用,编写一个c程序具有以下功能: a) 实现Shell的基本功能,包括有:打印提示符;接受和分析命令行(滤去无效的空格、tab符号以及换行符等);执行命令(要有出错处理;输入exit或者bye退出);返回父进程; b) 处理后台程序(不需要wait) c) 处理多行 ...
源码 学生成绩管理啊
#include "string.h"
#include "ctype.h"
#include "stdio.h"
search(char pd[])
{FILE *fp;
 int time=0,i=0,j=0,add[80],k=0,m;
 char *ch,
 str[900];
 m=strlen(pd);
 if((fp=fopen("haha.txt","r"))==NULL)
 {
  printf("Cannot open this file\n");
  exit(0);
 }
for( ...