2011-01-28 23 views
4

错误信息如果我编译一个C++程序通过腻子连接在Linux的错误,我看到这样的错误消息:C++编译无法正常显示腻子

g++ a.cpp 
a.cpp: In function âint main()â: 
a.cpp:38: error: expected primary-expression before â)â token 
a.cpp:38: error: âwaitpidâ was not declared in this scope 

为什么性格â来了你知道吗?

回答

2

检查以确保命令locale返回与在PuTTY配置中设置的编码相同的编码Translation->接收到的数据假定为字符集

2

在选项中将PuTTY字符集设置为UTF-8。