August 20th, 2003, 08:37 AM
Help with long long int.
I am trying to take "9111111111" in to a variable which is of type "long long" but it throws an error "Integer constant 9111111111 out of range". Can some please tell me what the problem is as it should be in range.
Thanks in advance,
August 20th, 2003, 09:26 AM
Are you using the LL suffix to identify it as a long long? If not, perhaps your compiler thinks it's a plain integer by default?
August 20th, 2003, 03:21 PM
Thanks BigBadBob .....I appended the var with LL and got it to work...