9.P2 Delete Repeats:
Pointer Projects Guidelines .
You will use Pointer Array Functions Description to perform array operations.
Notes:
- Use T as the array type (typedef) or use templates if instructed by me.
- Pass int size to all functions
- Do not use the Null Character to detect the end of array. (this, after all, could be an array of ints)
- Use a find function that returns a pointer to the location of the first occurrence of a key. (or a nullptr if not found)
- If you are instructed to remove the duplicates from the existing array, use a shift_left function that shifts the elements of the array left at a given position. If you are returning a brand new dynamic array, use an append function to add the unique items to the new dynamic array.