【转载】将int型数据转换成任意进制字符串的算法
1.http://hi.baidu.com/doking_blog/blog/item/5fd80a139a717159f919b840.html
2.将int型的数转换成String:
stringto_string(intn)
{
strings="";
while(n)
{
s=char(n%10+'0')+s;
n/=10;
}
returns;
}
相关推荐
湾区人工智能 2020-11-20
Pokemogo 2020-11-16
baijingjing 2020-11-16
baijingjing 2020-11-15
Site 2020-11-07
lwnylslwnyls 2020-11-06
justaipanda 2020-11-05
MachineIntellect 2020-11-02
xueyuediana 2020-10-30
GeraldJones 2020-10-30
Tips 2020-10-29
baijingjing 2020-10-28
baijingjing 2020-10-27
硕鼠 2020-10-26
playoffs 2020-10-26
scuyxi 2020-10-25
playoffs 2020-10-25
yise001 2020-10-23