[Solved] C language, How can I Convert Number to String? [closed]


You need to use some combinatory logic to do this. A straightforward way consist in converting your 10 bytes number into BCD representation first (Binary-coded decimal), then convert your BCD number into an ASCII string, which is quite simple. Have a look at this for example: https://en.wikipedia.org/wiki/Double_dabble

4

solved C language, How can I Convert Number to String? [closed]