2009年12月15日星期二

保存一系列文件名

char sbuf[100];
for(int lnu=0;lnu++)
{
sprintf(sbuf,"D:\\ro\\Data\\imgData-%d.txt",lnu);
fp=fopen(sbuf,"wt");
}