How do I force to input before termination?
<p>Here is an excerpt of my code, where the problem lies.</p>

<pre><code>    long long user_largest_plus;
    long long user_largest_minus;
    cout &lt;&lt; "Input the largest+1 in decimal: " &lt;&lt; endl;
    cin &gt;&gt; user_largest_plus;
//cout &lt;&lt; endl;


   // cout &lt;&lt; "Input the largest-1 in decimal: " &lt;&lt; endl;
    cin &gt;&gt; user_largest_minus;
    cout &lt;&lt; endl;

    cout &lt;&lt; "In decimal plus: " &lt;&lt; user_largest_plus;
    cout &lt;&lt; endl;
    cout &lt;&lt; "In deciaml minus: " &lt;&lt; user_largest_minus;
</code></pre>

<p>As soon as I input 9223372036854775808  to  user_largest_plus, the execution would terminate. That is, I wouldn't be able to input for user_largest_minus. 
I am using Code::Block, MinGW compiler.  </p>

<p>Is it because I just overflowed the variable, and the error triggered this termination. Any work around?</p>

<p>By the way, that number is 2^63 - 1, maximum number that I can store. </p>

<p>Thanks</p>
