For loop behaves strangely
<p>I have a simple <code>for</code> loop , which prints out [actually it must , but it doesn't] all numbers from <code>1</code> till `365`` (a year). </p>

<p>so , here is it :</p>

<pre><code>#include &lt;iostream&gt;
using namespace std;

int main()
{
    for(int i = 1; i &lt;= 365; i++)
    {
         cout&lt;&lt;i&lt;&lt;endl;
    }
}
</code></pre>

<p>So the output must be:</p>

<blockquote>
  <blockquote>
    <p>1
    .
    .
    .
    365</p>
  </blockquote>
</blockquote>

<p>but it's like that:</p>

<blockquote>
  <blockquote>
    <p>70
    .
    .
    .
    365</p>
  </blockquote>
</blockquote>

<hr>

<p>P.S There aren't any errors at compilation &amp; execution.</p>
