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

Back to Subject List

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


 
Msg Score: 0
 +1 Good Answer/Helpful
 -1 Provacative/Troll
#159581 - Manuals?
Responding to: ???'s previous message
Exactly how much time do you spend everyday reading manuals, FAQs and other available information?

Don't always write support mails or ask on forums. Do try to search for the answer. These problems are trivial, and being trivial means that there much information to be found.

You really can't spend your life waiting for answer to forum requests. Your productivity will be almost zero.

Google can do in 10 minutes what it takes a forum several hours or days to manage, because Google can point at already written answers.

And you have to learn to note that if you know A and you know B then A+B can lead to C. sprintf() takes a formatting string as parameter. And this thread already shows how to include hex constants in a string. So that should give you a very good indication how to use sprintf() to produce a string containing both hexadecimal (binary) values and expanded variable data. Just note that sprintf() produces a zero-terminated string so you will get into troubles as soon as you need to build a command string containing 0x00.

List of 13 messages in thread
TopicAuthorDate
Hex byte stream            01/01/70 00:00      
   Declare an initialised array            01/01/70 00:00      
      why not in code memory???            01/01/70 00:00      
   yes, if...            01/01/70 00:00      
      Initialized array            01/01/70 00:00      
         memcpy            01/01/70 00:00      
            Thanks.            01/01/70 00:00      
         You can build your array dynamically            01/01/70 00:00      
            sprintf ??            01/01/70 00:00      
               Manuals?            01/01/70 00:00      
                  Perception            01/01/70 00:00      
                     Bandwidth of facts            01/01/70 00:00      
                        You will make a good master !            01/01/70 00:00      

Back to Subject List