关于string 数据的有关问题

关于string 数据的问题
#include<iostream>
#include<fstream>
#include<conio.h>
#include<stdio.h>

using namespace std;


int main()
{

string str[3];
str[0]="曾永平";
cout<<str[0]<<endl;//这名出了错 


cout<<"按任意键退出"<<endl;
_getch();
return 0;
}

显示错误如下:
// 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> >
string 数级如何显示出来

------解决方案--------------------
#include <string>
------解决方案--------------------
cout <<str[0] <<endl;//这名出了错 //<<里多了个空格?

------解决方案--------------------
错了,该#include <string >
------解决方案--------------------
同意3楼的...
------解决方案--------------------
LZ C++和C的混着用啊。