It's also possible that there was a typo when posting the URL. We redirect you to this notice instead of stripping out the link to preserve the integrity of the post. Answered by Ancient Dragon 5, in a post from 8 Years Ago. Answered by vijayan 1, in a post from 8 Years Ago. Deleting data in vector comes with a lot of work. For your operation, you need to consider list.
Facebook Like. Twitter Tweet. Be a part of the DaniWeb community. Sign Up — It's Free! Reply to this Topic. Active 3 years, 10 months ago. Viewed 3k times.
Here's my code: string del; string line; ifstream in "sample. Keii Keii 29 1 1 silver badge 7 7 bronze badges. Check the contents of del and line. They're probably differing slightly. LightnessRacesinOrbit you're right - I didn't read it in full I just scanned to the end Add a comment. Active Oldest Votes. Once done, delete the original file and rename the new file as the original. Your code is doing the same thing and it is alright. Then write the content of the data structure back into the file.
Okay so now your answer does little other than re-iterate what the OP's code is doing, then deny that there is a question. Not useful. I think someone just mass down voted everyone's answer. Still; what I said is a simplified version of what's used by databases Sarmad Ali Sarmad Ali 1 1 silver badge 12 12 bronze badges. It's also possible that there was a typo when posting the URL.
We redirect you to this notice instead of stripping out the link to preserve the integrity of the post. Edited 8 Years Ago by happygeek because: fixed formatting. Great snippet AD! Be a part of the DaniWeb community. Sign Up — It's Free! Reply to this Topic. This topic is old! No one has contributed to this discussion in over 13 years.
0コメント