Possible Duplicate:
Xcode gives 3 syntax errors dealing with Stray ‘\342’ in program錯誤:雜散 ' 210' 在程序在C++
if(mGamma[i−1][j] == min(mGamma[i − 1][j],mGamma[i][j − 1],mGamma[i − 1][j − 1]))
該線以上給我這些錯誤:
/home/rajat/iCub/tutorials/src/vectordtw.h:91:3: error: stray ‘\210’ in program
/home/rajat/iCub/tutorials/src/vectordtw.h:91:3: error: stray ‘\222’ in program
/home/rajat/iCub/tutorials/src/vectordtw.h:91:3: error: stray ‘\342’ in program
/home/rajat/iCub/tutorials/src/vectordtw.h:91:3: error: stray ‘\210’ in program
/home/rajat/iCub/tutorials/src/vectordtw.h:91:3: error: stray ‘\222’ in program
/home/rajat/iCub/tutorials/src/vectordtw.h:91:3: error: stray ‘\342’ in program
/home/rajat/iCub/tutorials/src/vectordtw.h:91:3: error: stray ‘\210’ in program
/home/rajat/iCub/tutorials/src/vectordtw.h:91:3: error: stray ‘\222’ in program
/home/rajat/iCub/tutorials/src/vectordtw.h:91:3: error: stray ‘\342’ in program
/home/rajat/iCub/tutorials/src/vectordtw.h:91:3: error: stray ‘\210’ in program
/home/rajat/iCub/tutorials/src/vectordtw.h:91:3: error: stray ‘\222’ in program
/home/rajat/iCub/tutorials/src/vectordtw.h:91:3: error: stray ‘\342’ in program
/home/rajat/iCub/tutorials/src/vectordtw.h:91:3: error: stray ‘\210’ in program
/home/rajat/iCub/tutorials/src/vectordtw.h:91:3: error: stray ‘\222’ in program
凡mGamma被定義爲vector<vector<double> > mGamma
和min函數取3個值和返回最小值。這些錯誤來自哪裏以及如何擺脫它們?
您使用什麼文本編輯器? –
我遇到了Vim的這些問題 –
我正在使用gedit,但是我從pdf中粘貼了僞代碼,然後將其更改爲C++ – rajat