How To Convert A Array Into Set In Cpp