c++ erase num from array using erase() code example Example: how to delete something in an array c++ delete myarray[elemen];