Click to See Complete Forum and Search --> : Getting characters from file


Igor Rabinovich
March 30th, 1999, 09:12 AM
I write the simple search and replace program. I use with FILE structure and one of the operations, I need from current position to get = remove characters from file and so decrease the file size.


How can I do that ?


In fstream the get() function do this work - removes characters from file. I cannont find something similar fo FILE structure (like fgetc() ...).