#include <stdio.h>
#include <stdlib.h>
int main () {
FILE *fp;
printf("Going to open nofile.txt/n");
fp = fopen( "nofile.txt","r" );
if(fp == NULL) {
printf("Going to abort the program/n");
abort();
}
printf("Going to close nofile.txt/n");
fclose(fp);
return(0);
}
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/265252.html