在输出cout<<"s2="<<这个第二个输出符号为什么提示没有与这些操作匹配的”<<"运算符

问题描述:

#include <iostream>
using namespace std;

std::string str;
void f1()
{
	string s1 = "aa";
	string s2 = s1 + "bb";
	cout << "s2=" << s2 << endl;//s2=aabb

	string s3 = "cc";
	int r = s1 < s3;
	cout << "r=" << 1 << endl;


}
int main()
{
	f1();
	return 0;
}

#include <string>

缺少字符串头文件!!!