LINUX.ORG.RU

Format specifiers: A sequence formed by an initial percentage sign (%) indicates a format specifier, which is used to specify the type and format of the data to be retrieved from stdin and stored in the locations pointed by the additional arguments. A format specifier follows this prototype:

%[*][width][modifiers]type

lester ★★★★
()

width Specifies the maximum number of characters to be read in the current reading operation

lester ★★★★
()

а вообще лучше fgets

lester ★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.