Here is an example of some code that looks for read errors: #include ... "Write this line\n"); if (ferror (fp)) { perror ("Error with file-test. doc”); ...
確定! 回上一頁