//用fopen()函数以读的方式打开,如果文件句柄为NULL,则该文件不存在咯!//希望对您有所帮助!!include <stdio.h> include <stdlib.h> int main(){ FILE *fp;if ((fp=fopen("test.txt", "r")) == NULL)printf("File test.txt not exists.\n");else printf("File test.txt exists...