int findex;char instr[10]; sprintf(instr,"%d",findex); 好像ltoa用不了。。。 转载于:https://www.cnblogs.com/cmyg/p/9767554.html