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

Stray #39;342#39; in C++ program(杂散 342 在 C++ 程序中)

本文介绍了杂散 '342' 在 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.

这篇关于杂散 '342' 在 C++ 程序中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本文标题为:杂散 '342' 在 C++ 程序中