PREV INDEX NEXT

Author: Stan Eisenstat
Subject: Re: [Cs223] fscanf()
Date: Tuesday, 31 Mar 2020, 17:32:24


    > Message Posted By: Unknown
    >
    > Can we assume that any given line in any of the files provided in the
    > command line will not have length greater than INT_MAX (so we can use
    > fscanf() to get the lines from the files)?

Only if you do not have to use malloc() to create a
buffer to hold the line read.  (Which effectively
means "no".)

--Stan-
PREV INDEX NEXT