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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/07/06 00:58
Read: times


 
#111457 - it depends
Responding to: ???'s previous message

Assign a char to an int you will not get a warning.
int to a float no warning. Try that in Pascal you get a build error. in C you can assign an int to a char if you cast it. As I recall you can not cast the types must be the same, you need to us a conversion function.

That is how strongly typed was discribed to me.

List of 29 messages in thread
TopicAuthorDate
Keil C51 and Math            01/01/70 00:00      
   Eval version?            01/01/70 00:00      
      Not only but also            01/01/70 00:00      
         Come now            01/01/70 00:00      
            Come off it            01/01/70 00:00      
               poorly typed            01/01/70 00:00      
                  Typing (sic)            01/01/70 00:00      
                     Ian            01/01/70 00:00      
                        What type?            01/01/70 00:00      
                           any decent compiler will give you a warn            01/01/70 00:00      
                              it depends            01/01/70 00:00      
                                 Get Promoted            01/01/70 00:00      
                                    Too much promotion!            01/01/70 00:00      
                                       Hells Bells            01/01/70 00:00      
                                          Ding Dong!            01/01/70 00:00      
         C vs assembler, take 655321            01/01/70 00:00      
            anyone else will be a programmer in name            01/01/70 00:00      
            Programmer laziness            01/01/70 00:00      
   WebPage ?            01/01/70 00:00      
      Much different            01/01/70 00:00      
         And Also            01/01/70 00:00      
            Eh ?            01/01/70 00:00      
             C and C++            01/01/70 00:00      
         Portable?            01/01/70 00:00      
      handle your microprocessor functi            01/01/70 00:00      
         Hm,            01/01/70 00:00      
            Keil does it            01/01/70 00:00      
               Floating point            01/01/70 00:00      
                  Thanks,            01/01/70 00:00      

Back to Subject List