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

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -