2 1 C:\Users\yudongyouqing\Desktop\未命名1.cpp [Error] stray '\243' in program
时间: 2023-08-28 16:23:15 浏览: 244
未命名1.cpp
出现错误"stray '\243' in program"通常有几种可能的原因。首先,这可能是因为在给变量命名时使用了汉字或者存在汉语标点。在一些编译器中,如果使用了汉字或者汉语标点作为变量名,就会出现这样的错误。解决这个问题的方法是使用英文字符作为变量名,或者更换一个支持汉字或汉语标点的编译器。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [已解决error:stray‘\243‘in program异常的正确解决方法,亲测有效!!!](https://blog.csdn.net/weixin_50843918/article/details/129703009)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* [编译错误error: stray ‘\343’in program的解决方法](https://download.csdn.net/download/weixin_38697274/13785447)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文