Error using std::cout
<p>When I try to print text to the Windows console (in a Console Application) I get<br>
Compiler Error C2679 - Binary '&lt;&lt;' : no operator found which takes a right-hand operand of type 'std::basic_string&lt;_Elem,_Traits,_Ax>' (or there is no acceptable conversion).<br>
The code that generates this error is: (where str_var is any variable of type std::string) </p>

<p><code>
std::cout &lt;&lt; str_var &lt;&lt; endl;
</code>  </p>

<p>It highlights the first '&lt;&lt;' as the error. Could anybody help with this? I can't figure out why that doesnt work.</p>
