Set Remove Function In Cpp