Storing and printing 10+ digit integer in c++
<p>I'm using cout to print digits to the console. I am also storing values of up to 13+billion as a digit and doing computations on it. What data type should I use?</p>

<p>When I do the following:</p>

<pre><code>int a = 6800000000;
cout &lt;&lt; a;
</code></pre>

<p>It prints -1789934592.</p>

<p>thanks.</p>
