itoa(参数1,参数2,参数3) 一共三个参数 参数1是被转换的int型变量,参数2是用来保存转换结果的字符串,参数3是转换的进制 例如: itoa(12,str,10); 把12转换成"12"存到str里面。 itoa(5,str,2); 把5转换成"101"存到str里面。