您的位置:首页 > 其它

error: stray ‘\302’ in program

2012-07-07 10:34 1066 查看
> *.c:3: error: stray ‘\302’ in program
> *.c:3: error: stray ‘\240’ in program
> *.c: In function ‘main’:
> *.c:5: error: stray ‘\302’ in program
> *.c:5: error: stray ‘\240’ in program
> *.c:5: error: stray ‘\302’ in program

在vi编辑器中出现如上问题,你却找不到错在哪。。。当然应该要想到是编辑器的缘故,所以可以试试以下指令

od -c *.c

好嘛,都出来了,\302\240也无处藏身了,到相应行去删除修改就好了。。。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: