When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.
13 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.
okay
string line, temp;
streampos pos;
while ( bor_b.tellg() != -1 && (getline(bor_b, line)) ) {
pos = bor_b.tellg();
if(line.find(searchTerm) != string::npos){
bor_b.seekp(pos);
for (size_t i = 0; i < line.size(); ++i) {
bor_b.put(' ');
}
cout << "Book removed successfully." << endl;
break;
}
else {
cout << "Book not found." << endl;
}
}
There you go
@fossil monolith
Please don't delete forum posts. They can be helpful to refer to later and other members can learn from them. In the future you can use !solved to close a post and mark a post as solved.
No one knows this? What a dumb community.
Forum posts don't get as much traffic as the other channels, there's no reason to slander the community if your question goes unnoticed
We are more than happy to help, if your question goes too far down you can bump it, or you can try posting it in a text help channel if you still aren't getting help
They already left. May as well close/delete the post.
And I guess we should study more to become smarter to help them better.
Thanks for noticing