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

Back to Subject List

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


 
#159078 - So here we go
Responding to: ???'s previous message
I did try out the count with sprintf() and following are the results :

%2.2d = 2 bytes
%4ld = 4 bytes
: = 1 byte
\t = 1 byte
\r = 1 byte
\n = 1 byte
. = 1 byte ( a space within the formatting zone)

Armed with the above "knowledge", I could change the printf() as I wanted and successfully write it into the Flash Disk also.

Problem solved !!

Raghu

List of 17 messages in thread
TopicAuthorDate
How many bytes will be written ??            01/01/70 00:00      
   return value?            01/01/70 00:00      
      OT: That's why you should never use TABs!            01/01/70 00:00      
         go ahead and use tabs            01/01/70 00:00      
            No, don't!            01/01/70 00:00      
            Any programmers editor            01/01/70 00:00      
               insert spaces for TABs            01/01/70 00:00      
      Oh Yes ... the sprintf()...            01/01/70 00:00      
         So here we go            01/01/70 00:00      
            Wrong!            01/01/70 00:00      
               Valid warnings. But...            01/01/70 00:00      
                  No buts!            01/01/70 00:00      
                     maintability and engineering            01/01/70 00:00      
               Not entirely true?            01/01/70 00:00      
                  You are correct            01/01/70 00:00      
                     Good example of counting dangers            01/01/70 00:00      
                        Good interaction.            01/01/70 00:00      

Back to Subject List