how to delete something in an array c++

C++
delete myarray[elemen];
Source

Also in C++: