C++ Increase int size limit -


is there way in c++ increase limit on integers? want work 13 digit number e.g. 4823423658586. complier not allow this.

since largest 13 digit integer can stored using 6 bytes need type store @ least 6 bytes, type long long can hold 8 bytes.

so instead of

int x=100; 

use

long long x=100; 

Comments

Popular posts from this blog

python - Installing PyDev in eclipse is failed -

PHP OOP-based login system -

c# - Nested Internal Class with Readonly Hashtable throws Null ref exception.. on assignment -