标签: c++ compiler-errors char
else{}
答案 0 :(得分:0)
你打算写rotation = plain_text - 'a';
rotation = plain_text - 'a';
"a"是char*(“字符串”,多个字符),而'a'是单个字符(char)
"a"
char*
'a'
char