摘要:
#include <stdio.h> int main() { FILE *fp; FILE *from; char ch; char p[20]="hello"; fp = fopen("test.c","r+"); from =fopen("copy2.c","w+"); if((fp=fope 阅读全文
posted @ 2022-02-25 19:42
慧茗子
阅读(21)
评论(0)
推荐(0)
摘要:
#include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #define MAX 100 int read_line(int fd, char *buf 阅读全文
posted @ 2022-02-25 16:10
慧茗子
阅读(19)
评论(0)
推荐(0)
摘要:
#include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <sys/stat.h> #include <fcntl.h> #include <string.h> #include <errno.h> #define BUF 阅读全文
posted @ 2022-02-25 15:08
慧茗子
阅读(31)
评论(0)
推荐(0)
浙公网安备 33010602011771号