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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/29/04 18:00
Read: times


 
#84052 - How to #define an array
I'm very new to C. My question is how do I define a global array?
For example,

#define LCD_CLR (Byte)0x01

so then I just use LCD_CLR in my code instead of always typing (Byte)0x01 in my code. There is there a way to #define an array? Thanks in advance.

List of 14 messages in thread
TopicAuthorDate
How to #define an array            01/01/70 00:00      
   not an array            01/01/70 00:00      
   if you really mean an array            01/01/70 00:00      
      Let me clarify myself a bit            01/01/70 00:00      
         extern            01/01/70 00:00      
            thanks            01/01/70 00:00      
            the space is the place ...            01/01/70 00:00      
               Answer is wrong - in part            01/01/70 00:00      
                  you're correct, of course!            01/01/70 00:00      
               memory spaces            01/01/70 00:00      
            Almost but not quite.            01/01/70 00:00      
               being sure            01/01/70 00:00      
                  oh..            01/01/70 00:00      
   Back to basics            01/01/70 00:00      

Back to Subject List