error C2137: empty character constant

2025-06-20 11:39:56
推荐回答(1个)
回答1:

if(c==''||c=='\n'||c=='\t')

这行,其中c==''修改为 c== ' '
单引号之间有个空格,你这里判断的就是空格,回车和tab