To whom it may concern,

I'm working on this program that require to remove text from the external file:
Ex. test.dat
I like this
you like that
Bluh bluh

int main()
{
istream read;
char temp[100];

//read from the external file line by line and store it somewhere... how?
cout <<"Enter line or the first word to be remove:" ;
cin.get( temp, 100, '\n');
//user enter "I like this"
//and then compare the two line or word.. then delete the alike from the "test.dat". So, what it has left is just:

"test.dat"
you like that
bluh bluh

}

Thank you in advance.