how to delete an item in c++ using if witjou using array code example Example: how to delete something in an array c++ delete myarray[elemen];