After removing <conio.h> and the getch(), I didn't get any warnings. Odd.
The signed long long type can store 18 digits guaranteed, and possibly a 19th. It is a C++11 feature so you might need to explicitly enable it, though I thought most compilers supported it before the standard came out.
If you're using Dev-C++ 4.9.9.2, the bad news is that it's dead.
However, there's an unofficial version of a continued Dev-C++, which you can find below, and comes bundled with a more recent GNU compiler.
/* Maximum value an `unsigned long int' can hold. (Minimum is 0.) */
# if __WORDSIZE == 64
# define ULONG_MAX 18446744073709551615UL
# else
# define ULONG_MAX 4294967295UL
# endif
catfish: not working.... still cannot stored.
TightCoder: is it just have to include limits.h file with code u write?
i tried but a lot of warning and error coming out....
i think i have to change idea... does anyone know how to get first two character from a string?
example:
my input in string "1234567890"
and what i wanna get from the string is "12"