New answers tagged


I'm surprised there aren't more problems! Look at the following code: while ((ch = fgetc(d)) != EOF) { fscanf(d, "%s", dictword); The while statement scans the first letter from each line in the input file. Next, the fscanf line scans the rest of the "current" line. In the case of a dictionary where "A" is the ...

Top 50 recent answers are included