How to properly remove an element from an array?[code]void SortedList::DeleteItem(int& a[], int x) { for (int i = 0; i < MAX_ITEMS; i++) { if (v...
How to properly remove an element from an array?Its an example from an array that uses strings instead of ints. Yours wouldnt need n, pos is just th...
How to properly remove an element from an array?Try implementing a for loop that shifts all elements to the left after deleting the object. Here is ...
This user does not accept Private Messages