发现一个问题:不能将直接int付给char,反过来可以。 int a = 10; char c = a;//error! However: char c = 10;int a = (char)c; 这样可以。