std::fgets (3) Linux Manual Page
std::fgets – std::fgets Synopsis Defined in header<cstdio> char *fgets(char *str, int count, std::FILE *stream); Reads at most count – 1 characters from the given file stream and stores them in the character array pointed to by str. Reading stops if end-of-file occurs or a newline character is found, in which case str will contain that…
