Reading Ranges
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.
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for