as we know itoa tries to convert an integer in any base but to char array which has fix size, I am trying to find an alternative which can do the same work but convert to string with base 2 in c++.
any alternative of itoa converting integer in base 2 to string?
735 Views Asked by user3073328 At
2
You can easily write your own.
This was taken from this website, along with many other alternatives.