#No one knows this? What a dumb community.

13 messages · Page 1 of 1 (latest)

bronze dirgeBOT
#

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.

hearty locust
#

Why don't you paste the code in

#

That way people may actually try to help

fossil monolith
#

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

bronze dirgeBOT
#

@fossil monolith

Please Do Not Delete Posts!

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.

fossil monolith
#

No one knows this? What a dumb community.

neon trout
#

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

random nest
#

They already left. May as well close/delete the post.

#

And I guess we should study more to become smarter to help them better.

neon trout
#

Thanks for noticing