i wanna delete something which the value bigger than the other by me given in the array,,then output the array, but the result of don't change. i dunno the code wrong with which step ....sos look at following code
Your algorithm _Remove_If is written incorrectly. You defined iterator _reslut as reference to iterator First. So they point to the same element in the sequence.
Forwarditerator& _reslut=_First;
You should define it as a copy of the initial state of the iterator First that is without reference
Forwarditerator_reslut=_First;
Also the increment of result you should include into the if statement. So instead of
Show your updated code. Take into account that you can not delete elements of an array. You can only move them at the end of the array that your algorithm is trying to do.