I need to make this a recursive implementation, I need a little help.
Thanks!!
Code:void List::insert (int index, ListItemType newItem, bool& success) { success = bool( (index >= 1) && (index <= size +1) && (size < MAX_LIST) ); if (success) { for (int pos = size; pos >= index; --pos) items [translate (index)] = newItem; ++size; } }