Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/16/02 15:31
Read: times


 
#24526 - RE: sprintf Formatter ????? in KEIL
I believe you need the the format character
"%bd" for Char type. "%Ld" for Long. No specifier is Int.

So try:
sprintf(buf,"test = %bd,%bdn",170,0xAA);


List of 4 messages in thread
TopicAuthorDate
sprintf Formatter ????? in KEIL            01/01/70 00:00      
RE: sprintf Formatter ????? in KEIL            01/01/70 00:00      
RE: sprintf Formatter ????? in KEIL            01/01/70 00:00      
RE: sprintf Formatter ????? in KEIL            01/01/70 00:00      

Back to Subject List