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 12:49
Read: times


 
#24523 - sprintf Formatter ????? in KEIL
Help,

can somebody explain me these results ?
char buf[30];
sprintf(buf,"test = %d,%dn",170,0xAA);
printf(buf);


result on serial port (PC hyperterminal)

"test = -221846,0" STRING visible.

ANY COMMENT ?

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