issues with unsigned long long and printing c++ : <p>I'm a begginer in coding and I'm trying to solve a problem. I need variables that can get to about 22 digits so I used unsigned long long. However there's an issue.</p>

<pre><code>unsigned long long n;
fin&gt;&gt;n;
unsigned long long cn=n+1;
n++;
fout&lt;&lt;n&lt;&lt;" "; 
fout&lt;&lt;cn;
</code></pre>

<p>fin and fout are the commands I use to enter and print a variable.</p>

<p>for example, let's say n is 99 so I should see "100 100" but all i see is "100". Why does this happen?</p>
