没有在f盘建立a.txt,为什么在C没输出printf("ERROR,open failure\n");就退出了
#include<stdio.h>
main()
{
FILE *fpFile;
int nStatus;
fpFile=fopen("f;\\a.txt","w+ ");
if(fpFile==NULL)
{
printf("ERROR,open failure\n");
exit(0);
}
if((nStatus=fclose(fpFile))==0)
printf("succeed\n");
else
printf("fail\n");
getch();
}