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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/26/09 11:18
Read: times


 
#162882 - Working with flags
Responding to: ???'s previous message
Fernando Calix De Lima said:
The fact is that I am working with flags

In that case, defining symbolic names for those flags has to be the best way to go, doesn't it?
Rather than just using binary "Magic Numbers"...

List of 15 messages in thread
TopicAuthorDate
Bin in C            01/01/70 00:00      
   Possible solution            01/01/70 00:00      
      You need to check if this works with your compiler            01/01/70 00:00      
         Does it work with any?            01/01/70 00:00      
            popular demand            01/01/70 00:00      
   My compiler is IAR            01/01/70 00:00      
      because that's a non-standard (non-ANSI) extension            01/01/70 00:00      
      What made you beleive that it would work?            01/01/70 00:00      
   Use #define names            01/01/70 00:00      
      Yes, but...            01/01/70 00:00      
   Use macros for that.            01/01/70 00:00      
   facilitates my understanding            01/01/70 00:00      
      Working with flags            01/01/70 00:00      
         how I do it            01/01/70 00:00      
   I use a macro            01/01/70 00:00      

Back to Subject List