欧美大屁股bbbbxxxx,狼人大香伊蕉国产www亚洲,男ji大巴进入女人的视频小说,男人把ji大巴放进女人免费视频,免费情侣作爱视频

歡迎來到入門教程網(wǎng)!

C語言

當(dāng)前位置:主頁 > 軟件編程 > C語言 >

編譯錯(cuò)誤error: stray ‘\343’in program的解決方法

來源:本站原創(chuàng)|時(shí)間:2020-01-10|欄目:C語言|點(diǎn)擊: 次

問題:
從網(wǎng)上拷貝了一段代碼,粘貼到自己寫的程序strcat_compare.c中,然后編譯gcc -o strcat_compare strcat_compare.c;
出現(xiàn)錯(cuò)誤如下:

復(fù)制代碼 代碼如下:

avid@ubuntu:~/wrk/tmp$ gcc -o strcat_compare strcat_compare.c
strcat_compare.c: In function ‘main':
strcat_compare.c:28:1: error: stray ‘\343' in program
strcat_compare.c:28:1: error: stray ‘\200' in program
strcat_compare.c:28:1: error: stray ‘\200' in program
strcat_compare.c:28:1: error: stray ‘\343' in program
strcat_compare.c:28:1: error: stray ‘\200' in program
strcat_compare.c:28:1: error: stray ‘\200' in program
strcat_compare.c:30:1: error: stray ‘\343' in program
strcat_compare.c:30:1: error: stray ‘\200' in program
strcat_compare.c:30:1: error: stray ‘\200' in program
strcat_compare.c:30:1: error: stray ‘\343' in program
strcat_compare.c:30:1: error: stray ‘\200' in program
strcat_compare.c:30:1: error: stray ‘\200' in program
strcat_compare.c:32:1: error: stray ‘\343' in program
strcat_compare.c:32:1: error: stray ‘\200' in program
strcat_compare.c:32:1: error: stray ‘\200' in program
strcat_compare.c:32:1: error: stray ‘\343' in program
strcat_compare.c:32:1: error: stray ‘\200' in program
strcat_compare.c:32:1: error: stray ‘\200' in program
david@ubuntu:~/wrk/tmp$

運(yùn)行環(huán)境:ubuntu 11.10;
解決辦法:
1. 放狗搜,說可能程序本身的語法沒有問題,但是,出錯(cuò)行中包含不被識別的字符,比如空格的格式不對;
2. 將程序中出錯(cuò)行前面的空格刪除,重新插入空格或tab鍵,重新編譯,錯(cuò)誤消失。
ok,問題解決。

上一篇:文件編譯時(shí)出現(xiàn)multiple definition of 'xxxxxx'的具體解決方法

欄    目:C語言

下一篇:解析c語言switch中break語句的具體作用

本文標(biāo)題:編譯錯(cuò)誤error: stray ‘\343’in program的解決方法

本文地址:http://mengdiqiu.com.cn/a1/Cyuyan/4267.html

網(wǎng)頁制作CMS教程網(wǎng)絡(luò)編程軟件編程腳本語言數(shù)據(jù)庫服務(wù)器

如果侵犯了您的權(quán)利,請與我們聯(lián)系,我們將在24小時(shí)內(nèi)進(jìn)行處理、任何非本站因素導(dǎo)致的法律后果,本站均不負(fù)任何責(zé)任。

聯(lián)系QQ:835971066 | 郵箱:835971066#qq.com(#換成@)

Copyright © 2002-2020 腳本教程網(wǎng) 版權(quán)所有