This is what I have for the remove function:
...
User Profile
Collapse
-
I never used the memcpy function. :(
There are three main functions of this assignment: insert, attach, and remove. I used while loops for both insert and attach but I'm not sure how I would use a loop in general for the remove function. I have the following code:
...Leave a comment:
-
-
Doing Shifts In An Array
Note: I'm using jGrasp and writing C++
I'm supposed to create a "remove" function based off of the following postcondition:
"The current item has been removed from the sequence, and the item after this (if there is one) is now the new current item."
I'm aware that one cannot simply remove an element from an array, leaving the position unoccupied, but is it possible to shift the elements in...
No activity results to display
Show More
Leave a comment: