#include <stdio.h>
#include <string.h>
#include <errno.h>
int main () {
FILE *fp;
fp = fopen("file.txt","r");
if( fp == NULL ) {
printf("Error: %s/n", strerror(errno));
}
return(0);
}
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/265278.html