Altera_Forum
Honored Contributor
15 years agoC CODE Integer as ASCII to printf string...HELP!!!
Hi all,
As like the title, now i have an unsigned integer that contain 4 ASCII code for a string: 0x41424344--------- my unsigned integer I would like to print the out "ABCD" where the corresponding ASCII code is store inside my unsigned integer. I have try printf("%s",integer_a); but some can be print some cannot, especially with integer that contain zero.