When I am trying to use the long long int variable with the number 123456789012345 dev C++ says there is an error and gives the message "integer constant is too large for 'long' type".
longlongint NUMBER = 123456789012345;
The number is largest than what the long type can support but it is small enough so the long long type can support it. Do someone knows what is happening here? Is it possible my version of C++ doesn't recognise the long long type? Or is it something else?
By the way, I have also tried the 64 bits integers types in the inttypes.h library, and I still got the same error message.