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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/06/06 18:12
Modified:
  09/06/06 18:21

Read: times


 
#123774 - Ok, corrected the && ...
Responding to: ???'s previous message
It helped, but still does not yield the desired output. Now, for example:

input '255' --> output '255'
input '256' --> output '0'
input '456' --> output '200'

It's rolling over instead of carrying out to the next byte.

Jon

[edit]
input '256' --> output '0'
[/edit]

List of 16 messages in thread
TopicAuthorDate
A learning 'C' speed bump            01/01/70 00:00      
   Uninitialised?            01/01/70 00:00      
      Variables were initialized.            01/01/70 00:00      
         logical vs bitwise            01/01/70 00:00      
            this is when the C people try to be smart...            01/01/70 00:00      
            Ok, corrected the && ...            01/01/70 00:00      
               check the size of the variables            01/01/70 00:00      
                  I Ceed it already            01/01/70 00:00      
   Style            01/01/70 00:00      
      style does not apply to C only            01/01/70 00:00      
         words            01/01/70 00:00      
   Does it??            01/01/70 00:00      
      Verification            01/01/70 00:00      
   oh come on...            01/01/70 00:00      
   RESOLVED            01/01/70 00:00      
   variable scope            01/01/70 00:00      

Back to Subject List