I get the error: ‘cout’ was not declared in this scope when I try to use cout
<pre><code>    #include&lt;iostream&gt;//test.cpp


int main()
{
    char t = 'f';
    char *t1;
    char **t2;
    cout&lt;&lt;t;        
    return 0;
}
</code></pre>

<p>g++ test.cpp</p>

<p>I get this error </p>

<p>why?</p>
