C++: fstream. ( deleting and editing)

Hi guys.

Is it possible to delete a sentence or words from a .txt document through user input? Some help please?

I heard that it will be faster to make changes through memory than through fstream? Is it true? How do i go about doing it?
I heard that it will be faster to make changes through memory than through fstream? Is it true? How do i go about doing it?


I don't understand the question at all. if you want to modify a file on the hard disk, you need to use file streams. As far as using some kind of input to determine what change to make that depends on what kind of input. Gui input? stdin?

What do you mean by "making changes through memory"?
Oh I see.
Thank you Zaita and kempo.
will try debugging again.
shall come back again if problem rises.
Topic archived. No new replies allowed.