Skip to content

Latest commit

 

History

History
29 lines (25 loc) · 769 Bytes

reading-ranges.md

File metadata and controls

29 lines (25 loc) · 769 Bytes
title ms.custom ms.date ms.reviewer ms.suite ms.technology ms.tgt_pltfrm ms.topic dev_langs ms.assetid caps.latest.revision author ms.author manager
Reading Ranges | Microsoft Docs
11/04/2016
cpp-language
article
C++
99de29ce-ab14-46f4-97e1-2081fd996b53
6
mikeblome
mblome
ghogen

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

Library Functions