#include <stdio.h>
#include <stdlib.h>
int main(void)
{
FILE *fp = fopen("d:\\dataaaa.txt","r");
if (fp == NULL)
{
fprintf(stderr, "error open file\n");
abort();
}
printf("open file success\n");
fclose(fp);
return 0;
}
/*
run:
error open file
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
*/