How to convert big decimal numbers to binary without using itoa?

I've been working on a program that converts UTF-16 to UTF-8, but I've been having trouble converting big numbers like 14846106 to binary. All binary converters that I found on the web break if the decimal number is 4 digits or more. I used itoa, worked flawlessly but problem arose when I tried to compile the program on Linux. So are there any other alternatives (besides snprintf which isnt even capable of converting from decimal to binary)?



from Recent Questions - Stack Overflow https://ift.tt/3lSWW8y
https://ift.tt/eA8V8J

Comments

Popular posts from this blog

Today Walkin 14th-Sept

Hibernate Search - Elasticsearch with JSON manipulation

Spring Elasticsearch Operations