In a part to one of our assignments we were to use an array (that represents classes) and the user needs to be able to pick..lets say..Classes[3] and get rid of it. But if the array is holding 8 spots, the program needs to be able to pick it out of the middle and get rid of it. And shift any following data over to the previous element.
*in basic terms, because i don't feel it's necessary to show all struct's i had before, and previously they were able to tell you how many classes they had.*
cout<<"Which class would you like to get rid of?"<<endl;
cin>>I;
I--;
for(I= ;I<Classes.length()-1;I++)
??
and this is where i get caught thinking of a for loop to adjust to the size. And I've been informed that a bubble sort isn't necessary.