Hi, I have a file in wordpad that I need to delete a few strips. Its about 500 pages long so I cannot do it manually (it takes forever). I kind of understand how do approach this with c++. Well here's an example:
I want to keep the ??? and get rid of the text. Its repeted over and over throughout the body. Also the numbers change and the names change of course throughout.
Example:
while( getline(in,line) )
{
if(line != "I want to delete this line")
out << line << "\n";
}
in.close();
out.close();