hi, how to read the two files. onefile contains the words like
and another file contains the sentences like
word1 word2 ......
word 3 word4 .....
1.I have to read the sencond file line by line and split into words store those words in buffer. 2.compare the each word in buffer with each word in the first file and replace it with that meaning.
3.repeat the process for all other lines in the second file.
I am new to files topic in c. I am able to read the strings and store it in array. My question is How can i read line by line and then split. ?