Hello, I have this very simple program which won't compile. Please help me!

Code:
#include <iostream>
#include <string>
#include "stdafx.h"


int main()
{
	std::string name("This is a test!");
	
	std::cout << name << std::endl;


	return 0;
}
I get the error:
error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'std::string' (or there is no acceptable conversion)

I am using Visual c++ .NET. Can someone please tell me why this doesn't work?

thanks!