So it's one number per line, all integers, no delimiters.
So that makes things easier. Read in a line at a time using fgets().
But those numbers can get pretty big. If you use strtol() with the...
Type: Posts; User: Malcolm McLean
So it's one number per line, all integers, no delimiters.
So that makes things easier. Read in a line at a time using fgets().
But those numbers can get pretty big. If you use strtol() with the...
You need to nail down the format of the input file.
Presumably it's line-oriented, with a variable number of numbers on each line. Are they all integers? How are they separated? If they are...