How to convert a string variable that consists of maximum 100 char to big int ?
My code:
long long int x; string s="11111111111111111111111111111111"; x=atoll(s.c_str()); cout<<x; How to convert a string variable that consists of maximum 100 char to big int ?
My code:
long long int x; string s="11111111111111111111111111111111"; x=atoll(s.c_str()); cout<<x;