This tag refers to the process of removing or deleting data, text, files, or memory.
Questions tagged [erase]
739 questions
-6
votes
2 answers
how to erase several characters in a cell?
I would like to erase characters "(B)" in the code column, so then I could do "summarise" the 'stock_needed'. My data looks like this.
code stock_need
(B)1234 200
(B)5678 240
1234 700
5678 200 …

Nicodemus Sigit Sutanto
- 151
- 1
- 9
-6
votes
1 answer
C++ How can I delete -1 from my vector?
I currently have this code that does bubble sort:
#include
#include
using namespace std;
void bubbleSort(vector& numbers){
bool notFin = true;
int temp = 0;
while(notFin){
notFin = false;
for…

nanjero05
- 111
- 1
- 3
- 12
-6
votes
4 answers
C# Deleting last character in a string / textbox.
I want to do something like a calculator erase button or to be more specific
I want to delete the last character when a textbox is changed and not a number is written.
Like in Java I guess you could use CharAt() method but how about C#?

Aras
- 89
- 1
- 1
- 8
-9
votes
1 answer
I can not delete the minimum number in the Doubly Linked List and then the next
So, I've been stuck these past three days trying to delete the minimum pointer of the doubly linked list. It always crashes at the point I use min = a.erase(min).
I did research saying you "should" delete first using "delete(*min)" but it wont…

user1072583
- 1
- 4