Why isn't this a machine sized integer
View Single Post
Feb27-12, 10:34 AM
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.
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.