How To Convert Binary String To Integer In Cpp