With fclose, there is little to do if the file handle does not close properly, so checking the return value for fclose is generally unnecessary.
使用fclose时,即使文件处理未正常关闭,也不会执行什么操作,因此通常不必检查fclose的返回值。
For any of these methods, you go through the standard process of using fopen to open the file, a function to read the data, then fclose to close the file, as shown in Listing 1.
对于这些方法中的任何一种,通过使用fopen(用于读取数据的函数)的标准方法打开文件,然后使用fclose关闭文件,如清单1所示。
For any of these methods, you go through the standard process of using fopen to open the file, a function to read the data, then fclose to close the file, as shown in Listing 1.
对于这些方法中的任何一种,通过使用fopen(用于读取数据的函数)的标准方法打开文件,然后使用fclose关闭文件,如清单1所示。
应用推荐