Thread
:
Help why doesnt it work
View Single Post
Mar 12th, 2008, 1:10 AM
#
8
The Dark
Expert Programmer
Join Date: Jun 2005
Posts: 825
Rep Power:
4
Re: Help why doesnt it work
You have to tell the compiler that 4000000002 is a long, rather than an integer. Sticking an L on the end does that:
(
Toggle Plain Text
)
k = 4000000002L ; // k to 4,000,000,002
k = 4000000002L ; // k to 4,000,000,002
The Dark
View Public Profile
Find More Posts by The Dark