Posts by S Flavio • 31 points
1 post
-
2
votes1
answer19917
viewsQ: How to read text files and put words into an array?
I need to make a code that reads a text file (txt) and save only the words at the positions of a vetor, below follows my code: int main(int argc, char** argv) { FILE *file; file =…