Download string - What does % [^\n] mean in C? - Stack Overflow book pdf free download link or read online here in PDF. Read online string - What does % [^\n] mean in C? - Stack Overflow book pdf free download link book now. All books are in clear copy here, and all files are secure so don't worry about it. This site is like a library, you could find million book here by using search box in the header.
^\n: the scanset is all characters except \n. Furthermore fscanf (and scanf) will read the longest sequence of input characters matching the format. So scanf("%[^\n]", s); will read all characters until you reach \n (or EOF) and put them in s. It is a common idiom to read a whole line in C. See also §7.21.6.2 The fscanf function.
Read : string - What does % [^\n] mean in C? - Stack Overflow pdf book online Select one of servers for direct link: |
---|