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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/22/04 02:20
Read: times


 
#70910 - RE: no, No, NO, NOOOOOOOOOOOOOO!!
Responding to: ???'s previous message
Yes, but you can tell beforehand some events and hardcode them without checking them. i.e. it is 1 on startup and within first 0.5s, but then 10s later you just -know- it is 0 (and if it isn't, something is broken in the hardware.) so you could apply the routines that just assume it's 0 without checking and run a code that is modified accordingly and designated for that specific case. Although possible, it's extremely ugly, error-prone, inefficient and obscure technique and almost certainly not what the original post author wants.

#define V1 1
x=V1;
printf("%d",x);
#undef V1
#define V1 2
x=V1;
printf("%d",x);

List of 20 messages in thread
TopicAuthorDate
how to use to header files in one file            01/01/70 00:00      
   RE: how to use to header files in one file            01/01/70 00:00      
   RE: how to use to header files in one file            01/01/70 00:00      
      RE: how to use to header files in one file            01/01/70 00:00      
         RE: no sense whatsoever            01/01/70 00:00      
            RE: no sense whatsoever            01/01/70 00:00      
   Preprocessor!!            01/01/70 00:00      
   RE: how to use to header files in one fi            01/01/70 00:00      
      RE: how to use to header files in one fi            01/01/70 00:00      
         RE: how to use to header files in one fi            01/01/70 00:00      
            RE: how to use to header files in one fi            01/01/70 00:00      
         RE: how to use to header files in one fi            01/01/70 00:00      
      RE: how to use to header files in one fi            01/01/70 00:00      
         RE: how to use to header files in one fi            01/01/70 00:00      
            no, No, NO, NOOOOOOOOOOOOOO!!            01/01/70 00:00      
               RE: no, No, NO, NOOOOOOOOOOOOOO!!            01/01/70 00:00      
   what header files ???            01/01/70 00:00      
      RE: what header files ???            01/01/70 00:00      
         Raja: Do you understand the preprocessor            01/01/70 00:00      
            What the preprocessor does            01/01/70 00:00      

Back to Subject List