How to convert an arbitrary large integer from base 10 to base 16?

后端 未结 7 1920
旧时难觅i
旧时难觅i 2021-02-04 21:39

The program requires an input of an arbitrary large unsigned integer which is expressed as one string in base 10. The outputs is another string that expresses the integer in bas

7条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-04 22:05

    The real challenging part is the "arbitrary large" unsigned integer.

    Have you tried using GNU MP Bignum library?

提交回复
热议问题