今日用gcc编译如上程序时出现了“empty character constant”的错误。 原因在于第26行中单引号要有个空格,empty character constant这个英文的意思就是提示空字符。