fp = fopen("input.txt", "r"); if (fp == NULL) { perror("Read file error!\n"); exit(1); } while (!feof(fp)) { fscanf(fp, "%s", str);
確定! 回上一頁