KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I need to read a file and send the text from it to a string so I can parse it. However, the program won't know exactly how long the file is, so what would I do if I wanted to use fgets() , or is there a better alternative? Note: char *fgets(char *str, size_t num, FILE *stream);
Tags (comma-separated)
Save Edits
Cancel