I need to convert a string (Example:“257”) to a binary string.(Example:“10001”)
I know that i could just convert it into a int and then into a binary string, but the thing is, the integer in the string could be big as 10^100, (aka. googol) which is bigger than built-in data types. I would like no new BigInteger type classes.
Aucun commentaire:
Enregistrer un commentaire