我在eclipse下面的代码为C++和它的强调string和cout,并说无法解析.
#include <string>
#include <iostream>
using namespace std;
int main()
{
string s;
s = "hello world";
cout << s;
return 0;
}
Run Code Online (Sandbox Code Playgroud)
谁知道为什么?
编辑:截图
编辑:我找到了一个解决方案,谢谢大家(见答案).
