This is how I've done it but I'm not sure this is the preferred idiom: FILE *fp = fopen(argv[0], "r"); // handle fopen() returning NULL while (!feof(fp)) ...
確定! 回上一頁