Quote:
|
Originally Posted by Greg
This is probably a dumb question but I dont have as much experience with C as I'd like to  Is it possible to printf a char as an ASCII character? printf_lib.c says %c is unsupported. But somehow strings enclosed in quotation marks print with no problems. How do I convert a byte to a single-character string?
|
try creating a 1-element char array, and then assigning the value of the byte to the first element (element 0) in the array.