View Single Post
Feb27-12, 10:34 AM
P: 21,407
Quote Quote by jedishrfu View Post
Is this for a course?

What language is this, what machine and what OS?

machine sized ints vary with cpu and language usage.

For C/C++ a machine sized int +-32768 or 16-bit integer
For the past dozen years or so, most C or C++ compilers consider an int to be 32 bits.
Quote Quote by jedishrfu View Post

For Java an int is a 32-bit value.

Also check your csv file to see if any numbers are greater than the 1000000 mentioned in the comment. Thats if this program had worked before but now does not.