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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/22/04 10:37
Read: times


 
#81677 - TRUE, FALSE - A Word of Warning
Responding to: ???'s previous message
#define TRUE	1
#define FALSE	0

The 'C' programming language considers '0' to be "False" and may use any other value to be "True"
Therefore, the following code may not do what you expect:
if( foo == TRUE )
etc



List of 12 messages in thread
TopicAuthorDate
AT898252            01/01/70 00:00      
   All the same            01/01/70 00:00      
      cna't found AT898252.h            01/01/70 00:00      
         REG8252.h            01/01/70 00:00      
            interesting            01/01/70 00:00      
               Gopalkrishnan Are you using keil?            01/01/70 00:00      
                  Yes Prahlad            01/01/70 00:00      
                     Its all version related stuff:)            01/01/70 00:00      
                        Path and filename            01/01/70 00:00      
                           Include path            01/01/70 00:00      
   TRUE, FALSE - A Word of Warning            01/01/70 00:00      
   can build target file            01/01/70 00:00      

Back to Subject List