Good evening,
How can I convert a 4 digit number from decimal to ASCII ?
for example: 1024 from decimal to ASCII
Good evening,
How can I convert a 4 digit number from decimal to ASCII ?
for example: 1024 from decimal to ASCII
Use itoa.
FutureEngineer:
How can I convert a 4 digit number from decimal to ASCII ?
for example: 1024 from decimal to ASCII
You consult the following table; pick up ASCII code for each digit of your number and record it on a piece of paper.
GolamMostafa:
You consult the following table; pick up ASCII code for each digit of your number and record it on a piece of paper.
or, if you're in a hurry, use itoa.
You mean from binary to ASCII surely? Numbers are binary internally. Surely you don't mean
BCD?