no operator error

I know that this is simple to most but I dont see what is wrong.

1
2
3
4
5
6
7
8
9
10
#include <iostream>
using namespace std;

int main ()
{

	string firstName = "Ben";
	cout << "Hello World" <<  firstName << endl;
	return 0;
}
add

#include <string>

on Line 2
Topic archived. No new replies allowed.