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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/15/03 06:01
Read: times


 
#43417 - Switch Case and If Else If
Hi all,

I wrote the program in C which handle 2 serial comm. one connect to PC and another connect to smart card reader. the commands are in hex format.

during interpret command, I'm using IF , ELSE IF method to react for diferent command set, and it was running fine so far(1 month)

so my question is, what is the difference between IF , ELSE IF and SWITCH CASE method.

from the C book that I use said that SWITCH CASE method is designed for character only and not suitable for numbering... does it true?

can anyone give a comments

Thanks
Parif

List of 8 messages in thread
TopicAuthorDate
Switch Case and If Else If            01/01/70 00:00      
   RE: Switch Case and If Else If            01/01/70 00:00      
      RE: Switch Case and If Else If            01/01/70 00:00      
         RE: Switch Case and If Else If            01/01/70 00:00      
   RE: Switch Case and If Else If            01/01/70 00:00      
      RE: Switch Case and If Else If            01/01/70 00:00      
         RE: Switch Case, abhishek            01/01/70 00:00      
            RE: Switch Case, abhishek            01/01/70 00:00      

Back to Subject List