delete a element from array in cpp code example Example: how to delete something in an array c++ delete myarray[elemen];