将字符串和数字合并动态写入

 sprintf(tmpTime, "/media/AIlog/%02d_%02d_%.txt",100,200);

你可能感兴趣的:(将字符串和数字合并动态写入)