2014年12月4日

用递归的方式将数字的各个位数转换为字符串

摘要: 遇到一个问题,需求是将形如434的数字转换成 si san si这种形式。一开始想的是用循环取余的方式, 1 void ReadOut (int Sum) { 2 3 static char str[10][5] = {"ling","yi","er","san","si","wu... 阅读全文

posted @ 2014-12-04 18:06 smallcorpse 阅读(373) 评论(0) 推荐(0)

导航