2013年7月27日
摘要: 方法1int mm=10;string *a=new string[mm];for(int i=0;i<10;i++){ char temp[80];_snprintf(temp,79,"aa%d.dat",i);temp[79]=0; char *path=NULL;path=(char*)temp; a[i]=path;}for(int j=0;j<10;j++){ string bb=a[j]; const char * str=bb.c_str(); FILE *File=fopen(str,"rb+");}delete[] a;方法 阅读全文
posted @ 2013-07-27 19:52 markygis 阅读(480) 评论(0) 推荐(0) 编辑