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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/06/05 17:26
Read: times


 
#84474 - Buffers too small?
Responding to: ???'s previous message
Expand buffer[] and buffer1[] by a few bytes. I'm not familiar
with this version of gets() (the one I know doesn't take a
sizeof() parameter) but from the looks of things you're not
initially gets-ing one or more 'r' or 'n' characters, and
they're coming back to haunt you on subsequent gets() calls.

List of 11 messages in thread
TopicAuthorDate
8051 to 8051 communication            01/01/70 00:00      
   Try at a lower baud rate            01/01/70 00:00      
   Re:            01/01/70 00:00      
   8051 to 8051 communication            01/01/70 00:00      
   Which C Compiler?            01/01/70 00:00      
   Possible Solution            01/01/70 00:00      
   same kind of problem            01/01/70 00:00      
      Re:' '            01/01/70 00:00      
         SMS?            01/01/70 00:00      
   Buffers too small?            01/01/70 00:00      
   Inter Character Spacing??            01/01/70 00:00      

Back to Subject List