#How to put each individual word of a text file into an array?
9 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.
copy them to it
So is it just doing a stcpy( array[] , text file ) ?
yeah
on every iteration of fgets you copy the current string to the array
Make sure the array has enough space
Oh okay got it
!solved