description | title | ms.date | ms.assetid |
---|---|---|---|
Learn more about: Reading Ranges |
Reading Ranges |
11/04/2016 |
99de29ce-ab14-46f4-97e1-2081fd996b53 |
ANSI 4.9.6.2 The interpretation of a dash (-) character that is neither the first nor the last character in the scanlist for % [ conversion in the fscanf
function
The following line
fscanf( fileptr, "%[A-Z]", strptr);
reads any number of characters in the range A-Z into the string to which strptr
points.