摘要:
// 从stdin获取字符串,输出到文件中 #include <stdio.h> #include <string.h> int main(int argc, char *argv[]) { FILE *file = fopen("test.txt", "w"); if (NULL == file) 阅读全文
摘要:
// 文件拷贝 #include <stdio.h> int main(int argc, char *argv[]) { FILE *file_A = fopen("A.txt", "r"); if (NULL == file_A) { printf("fopen file_A error\n") 阅读全文