Search:

Type: Posts; User: Malcolm McLean

Search: Search took 0.01 seconds.

  1. So it's one number per line, all integers, no...

    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...
  2. You need to nail down the format of the input...

    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...
Results 1 to 2 of 2