I have used the function atoi
to convert character strings to int
and it\'s working fine but when I gave
num = atoi (argv[1]) ;
/
If you want to handle seriously very large numbers then you need a library like GMP.
GMP stands for GNU Multiple Precision and it is a BigNum library, which means it has code to handle integers bigger than 32 bits or 64 bits. It can handle as many bits as you have RAM.
To convert a string into an integer you would use the GMP function mpz_set_str()