C++中怎么用cout输出string

C++中如何用cout输出string?
#include<iostream>
using namespace std;

void main()
{
string s="hello";
cout<<s<<endl;
}


然后报错是:
error C2679: binary '<<' : no operator defined which takes a right-hand operand of type 'class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >
' (or there is no acceptable conversion)
------解决方案--------------------
#include <string>
------解决方案--------------------
http://blog.****.net/xt0916020331/article/details/8012821