how can i modify a text in a file
I am a novice in C programming.I'm trying to open a file,go looking for a text called "word" and I will have to change that as "WOR_", with the help of pointers.
I have got a do while loop which will run until the end of file.
I have got another FOR loop which is set for 4(initial value-file pointer & final value-filepointer+4).the latter will copy the text into a buffer.
I wonder if this is the right way of solving.
Could some1 pls help me in handling this problem.
Thanks in advance,