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