关于文件命名# Programming - 葵花宝典
e*r
1 楼
How should I write the code, if I want the program output the strings.
Thanks
"family0"
"family1"
"family2"
"family3"
.....
"family10"
.....
"family99"
"family100"
........
"family999"
"family1000"
........
"family1999"
I tried
for(int q=0; q<2000; q++)
strcat("family",(char*)&q)
but it didn't work
Thanks
"family0"
"family1"
"family2"
"family3"
.....
"family10"
.....
"family99"
"family100"
........
"family999"
"family1000"
........
"family1999"
I tried
for(int q=0; q<2000; q++)
strcat("family",(char*)&q)
but it didn't work