error: stray '\343' in program 问题解决
来源:互联网 发布:北面和狼爪哪个好 知乎 编辑:程序博客网 时间:2024/06/07 04:58
当我们从网上copy一段代码后,总会出现这个问题。博主在Arduino环境中也出现了,so,这个问题应该是C语言和C++编译器中才会出现的。
test_int:19: error: stray '\343' in program
銆?銆? char string[25];
^
test_int:19: error: stray '\200' in program
test_int:19: error: stray '\200' in program
test_int:19: error: stray '\343' in program
test_int:19: error: stray '\200' in program
test_int:19: error: stray '\200' in program
test_int:21: error: stray '\343' in program
銆? 銆?itoa(number, string, 10);
^
test_int:21: error: stray '\200' in program
test_int:21: error: stray '\200' in program
test_int:21: error: stray '\343' in program
test_int:21: error: stray '\200' in program
test_int:21: error: stray '\200' in program
exit status 1
stray '\343' in program
这个错误是由于使用了中文引号或其他全角符号,还有一种就是有中文的空格(这个不容易观察),需调到顶格处,再用tab即可。
可通过调整格式来解决问题,代码不多的话可以自己在code一遍哦~
- error: stray '\343' in program 问题解决
- error: stray ‘\302’ in program; error: stray ‘\240’ in program 问题解决办法
- error: stray ‘\343’ in program -------solved
- error: stray ‘/357’ in program
- error: stray '357' in program
- error: stray ‘\1’ in program
- error: stray ‘\302’ in program
- error: stray '\161' in program
- error: stray ‘\302’ in program
- error: stray ‘\357’ in program
- error: stray '\357' in program
- error: stray '\302' in program
- error: stray ‘\302’ in program
- error:stray'\243'in program
- error:stray \357’ in program
- error: stray ‘\357’ in program
- error: stray ‘\357’ in program
- error: stray ‘\342’ in program
- html滑动开关按钮实现
- Linux字段处理之awk实例详解
- 关于 Xcode7使用NSURLSession发送HTTP请求的问题
- 利用Oracle数据库发送邮件
- 安卓开发之异步消息处理机制
- error: stray '\343' in program 问题解决
- PE reading C13
- 类似于微信首页右上角弹出view
- Ngui 左右滑动
- 207. Course Schedule LeetCode
- 【bzoj1492】[NOI2007]货币兑换Cash 斜率优化+set+凸包
- GestureDetector使用详解
- 复制图像打水印
- 骑士游历算法