title: no match for 'operator+=' (operand types are 'std::basic_ostream<char>' and 'int')
body: <p>Given the following code;</p>
  
  <pre><code>#include&lt;iostream&gt;
  using namespace std;
  
  int main(){
      int number_1 = 3;
      int result_1 = 10;
      result_1 += number_1;
      cout &lt;&lt; ++result_1;
      cout &lt;&lt; result_1 += number_1;
  }
  </code></pre>
  
  <p>The line <code>cout &lt;&lt; result_1 += number_1;</code> giving me an error.</p>
  
  <blockquote>
    <p>no match for 'operator+=' (operand types are 'std::basic_ostream' and 'int')</p>
  </blockquote>
  
  <p>On the other hand, the <code>cout &lt;&lt; ++result_1;</code> is running without any problems.</p>
  
  <p>Can anyone please explain what is the error is for, what the cause is?</p>