tip 1:一个简单的将int型转换成char的方法

int i=1;
char c;
c = i + '0';

 

posted @ 2016-07-30 14:31  秋水小战士  阅读(506)  评论(0编辑  收藏  举报