这里有两个转换函数,可以将命令行参数argv[]转化为int型。 1. int strtoi( const char * str, int base )int str 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交