how to delete an index of an array in c++ code example Example: how to delete something in an array c++ delete myarray[elemen];