獲取你自己的
網站
×
更改方向
更改主題,深色/淺色
前往 Spaces
#include <stdio.h> int main() { FILE *fptr; // Open a file in read mode fptr = fopen("loremipsum.txt", "r"); // Print some text if the file does not exist if(fptr == NULL) { printf("Not able to open the file."); } // Close the file fclose(fptr); return 0; }
無法開啟檔案。