Bom, eu havia feito a pergunta anterior aqui no fórum e depois perguntei pessoalmente ao professor e ele me sugeriu que eu procurasse algo na ajuda do C. Eu encontrei uma função chamada fget que retorna um char * e faz quase certo o que eu queria fazer. Posso usá-la no EP?
char *fgets(char *str, int num, FILE *fp);
"The fget() function reads characters from the file associated with fp into a string pointed to by str until num-1 characters have been read, a newline character is encountered, or the end of
the file is reached. The string is null-terminated and the newline character is retained. The function returns str if successful and a null pointer if an error occurs."