title: cout not working with ostream header file
body: <p>I have read that cout is an object of ostream...</p>
  
  <p>But why does this code</p>
  
  <pre><code>#include&lt;ostream&gt;
  using namespace std;
  
  int main()
  {
  cout &lt;&lt; "ostream included!" &lt;&lt; endl;
  return 0;
  }
  </code></pre>
  
  <p>Throwing an error :-</p>
  
  <pre><code>practice1.cpp: In function 'int main()':
  practice1.cpp:6:1: error: 'cout' was not declared in this scope
  cout &lt;&lt; "ostream included!" &lt;&lt; endl;
  ^~~~
  </code></pre>
  
  <p>Am I going wrong in my understanding or is there some other fault?
  (MinGW windows 10)</p>
  
  <p>Thanks in advance!</p>