how to remove an item in an array cpp code example Example: how to delete something in an array c++ delete myarray[elemen];