#include <stdio.h>void main(void){FILE *fp[5];char sBuffer[100]; /* buffer for store the directory of the file */int i;for(i=0;i<5;i++){sprintf(sBuffer,"d:\\menu\\menu(%d).bmp",i);fp[i] = fopen(sBuffer,"rb");if(fp[i] == NULL)printf("不能打开文件menu(%d)\n",i); }}