hi all,
i having a problem, how do i convert a string to long long int?
this is because i have a code
1 2
getline(cin,x)
longlongint y=atoi(x.c_str())
this will cause me false result, maybe because atoi cant convert value that too large?
then how i solve it?
coz maybe i wan to key in a large number of value like ic no, my ic no total have 12 digit!!
thx for reading...