while( (ch=fgetc(fp)) != eof ). putchar('\n'); //輸出換行符. fclose(fp);. return 0;. } fgets() 函式用來從指定的檔案中讀取一個字串,並儲存到 ...
確定! 回上一頁