error: stray ‘\240’ in program或 error: stray ‘\302’ in program
来源:互联网 发布:手机淘宝评价管理页面 编辑:程序博客网 时间:2024/05/19 02:22
遇到这种问题的情景是,操作系统老师布置的作业给的代码(应该是在VC++6.0中写的)是复制到word中的,而我用的是debian-Linux,原样cp下来弄到vim上,保存,gcc编译就报这种错误。
在网上得知大大一说:“这个错误一般是源代码中含有一些隐藏的非ascii字符。你把东西copy到文本编辑器中,再copy回来试试”
大大二:使用“ od -c *.c
”查看源码中的猫腻,再到对应位置删除
我出错的源代码有几百行,不说了,去换键盘...
0 0
- error: stray ‘\240’ in program或 error: stray ‘\302’ in program
- error: stray ‘\302’ in program
- error: stray ‘\302’ in program
- error: stray '\302' in program
- error: stray ‘\302’ in program
- error: stray '\302' in program?
- error: stray ‘\302’ in program; error: stray ‘\240’ in program 问题解决办法
- error: stray ‘\302’ in program/error: stray ‘\240’ in program解决方法
- error: stray ‘/357’ in program
- error: stray '357' in program
- error: stray ‘\1’ in program
- error: stray '\161' in program
- error: stray ‘\357’ in program
- error: stray '\357' in program
- error:stray'\243'in program
- error:stray \357’ in program
- error: stray ‘\357’ in program
- error: stray ‘\357’ in program
- bzoj1069[SCOI2007]最大土地面积
- 启动 Eclipse 弹出“Failed to load the JNI shared library jvm.dll”错误的解决方法!
- SQL Server系列(7) -- 游标
- Oracle exp imp 常见问题解决
- Android图片二进制与Bitmap、Drawable之间的转换
- error: stray ‘\240’ in program或 error: stray ‘\302’ in program
- Java中有关Null的9件事
- sqlite问题
- Linux下批量修改文件后缀名及shell脚本中匹配文件名称变量写法
- Android LayoutInflater详解
- 12月份计划
- PyInstaller-2.1打包python程序
- 人脸识别必读的N篇文章
- 将jquery validate校验框架的remote异步验证设置为同步校验