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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/11/08 15:12
Read: times


 
#154688 - But I am concenating into DispMsg.
Responding to: ???'s previous message

The FixMsg[] array is exactly long enough to contain the string " Elapsed Time :", plus one more byte for the terminating null. When strcat() is called, it's going to create a longer string that will no longer fit in the array.


I am trying toplace the concatenated string into DispMsg and the first string is a constant. SO I thought it should work ?

Raghu

List of 15 messages in thread
TopicAuthorDate
LCD message format with strcat            01/01/70 00:00      
   Pointers in 8051            01/01/70 00:00      
      Managed pointers....            01/01/70 00:00      
   Hmmm....            01/01/70 00:00      
      Ha Ha Ha....            01/01/70 00:00      
      Hmmm, indeed            01/01/70 00:00      
         MK is right about the italics..            01/01/70 00:00      
            You (and MK) are right!            01/01/70 00:00      
   Another Problem You Have...            01/01/70 00:00      
      I actually did not want a sprintf ..            01/01/70 00:00      
         Converting integers to strings            01/01/70 00:00      
      Getting better but not there still            01/01/70 00:00      
   Yet another problem            01/01/70 00:00      
      But I am concenating into DispMsg.            01/01/70 00:00      
         No you're not ???            01/01/70 00:00      

Back to Subject List