i know you the steps i have to take to do it
open file
copy everything but line i want to delete to temp file
delete original
rename temp to original
but i dont know how to find the line
i have tried getline but this error comes up
main.cpp|74|error: no matching function for call to `getline(std::ifstream&, char[1])'|
i have also tried file.read
but it just deletes the entire file.
what other things can i do.
That particular getline() takes an std::string & as its second parameter.