g++编译时警告 warning: character constant too long for its type 检查一下cout<<’ xxxxxxxxxxx ’ 是不是使用单引号了,改成双引号就可以了。