关于网友提出的“ string问题”问题疑问,本网通过在网上对“ string问题”有关的相关答案进行了整理,供用户进行参考,详细问题解答如下:
问题: string问题
描述:
#include
using namespace std;
int main()
{
string dd;
return 0;
}
xlC -o test test.cpp -I/usr/include
"test.cpp", line 5.16: 1540-0040 (S) The text "dd" is unexpected. "string" may be undeclared or ambiguous.
用#include
就报找不到的错。哎 不知道什么原因
以上介绍了“ string问题”的问题解答,希望对有需要的网友有所帮助。
本文网址链接:http://www.codes51.com/itwd/3736679.html