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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/21/10 09:33
Read: times


 
#176110 - If that's true, then your so-called "C compiler" is BROKEN!
Responding to: ???'s previous message
Eatzik T said:
i was told that in this compiler the = is as ==,
the condition of equivalent.

Who told you that??!

What does the compiler Manual say?


if it's a mistake

If it is true (which seems highly unlikely) then that is a fundamental error in the compiler!

then what it does in this form?

The 'C' programming language clearly defines the difference between the "=" (assignment) and "==" (comparison) operators - and this will be explained in any 'C' textbook.

See also: http://www.8052.com/forum/read/176106

If your compiler really does not make any distinction between "=" and "==" then it is not a 'C' compiler!

List of 16 messages in thread
TopicAuthorDate
reading two times            01/01/70 00:00      
   RE: "dosent work"            01/01/70 00:00      
   RE: the code is something like this            01/01/70 00:00      
   Also...            01/01/70 00:00      
      RE: you don't say which compiler you are using            01/01/70 00:00      
         thank for the comments!            01/01/70 00:00      
            SBUF            01/01/70 00:00      
            the if(temp='0') lines do work            01/01/70 00:00      
               RE:if            01/01/70 00:00      
                  If that's true, then your so-called "C compiler" is BROKEN!            01/01/70 00:00      
                  comments            01/01/70 00:00      
            SES51 compiler            01/01/70 00:00      
               = != == in C            01/01/70 00:00      
                  RE:again            01/01/70 00:00      
            do yourself a favor            01/01/70 00:00      
               not necessarily            01/01/70 00:00      

Back to Subject List