error: stray '\343' in program 问题解决
????? 當我們從網上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一遍哦~
轉載于:https://www.cnblogs.com/lanzhi/p/6467337.html
總結
以上是生活随笔為你收集整理的error: stray '\343' in program 问题解决的全部內容,希望文章能夠幫你解決所遇到的問題。
 
                            
                        - 上一篇: 做梦梦到一条水蛇是什么意思
- 下一篇: 孕妇梦到黄鼠狼是什么意思
