杂散 '342' 在 C++ 程序中

2021-12-31 00:00:00 compiler-errors c++

粘贴一些代码后,我在我的程序中收到这些错误:

I'm getting these errors in my program after pasting in some code:

showdata.cpp:66: error: stray ‘342’ in program
showdata.cpp:66: error: stray ‘200’ in program
showdata.cpp:66: error: stray ‘235’ in program
showdata.cpp:66: error: stray ‘’ in program
showdata.cpp:66: error: stray ‘342’ in program
showdata.cpp:66: error: stray ‘200’ in program
showdata.cpp:66: error: stray ‘235’ in program
showdata.cpp:67: error: stray ‘342’ in program
showdata.cpp:67: error: stray ‘200’ in program
showdata.cpp:67: error: stray ‘235’ in program
showdata.cpp:67: error: stray ‘’ in program
showdata.cpp:67: error: stray ‘342’ in program
showdata.cpp:67: error: stray ‘200’ in program
showdata.cpp:67: error: stray ‘235’ in program

这是导致错误的两行.

size_t startpos = str.find_first_not_of(" 	");
size_t endpos = str.find_last_not_of(" 	");

我该如何解决这个问题?

How can I fix this?

推荐答案

符号 " 不是 ".那些被称为智能引号",通常在丰富的文档或博客.

The symbol " is not ". Those are called 'smart quotes' and are usually found in rich documents or blogs.

相关文章