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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/03/07 04:30
Read: times


 
#134182 - Perhaps a bit more caution?
Responding to: ???'s previous message
Neil Kurzman said:
Number = 1234567
digit = Number mod 10 (digit = 7)
Number = / 10 (Number = 123456)

repeat (iterate) while Number > 0 ( or greater the -maxint if signed)


Depending on the compiler sprintf() or ltoa() can be used.

Or snprintf() for those with healthy paranoia.

--Sasha Jevtic


List of 11 messages in thread
TopicAuthorDate
Help Data Type Conversion            01/01/70 00:00      
   Iterate            01/01/70 00:00      
      Don't understand            01/01/70 00:00      
         Base conversions            01/01/70 00:00      
            You gonna take his mid-terms too?            01/01/70 00:00      
               Sorry not homework            01/01/70 00:00      
                  Okay, her you go...            01/01/70 00:00      
      iterateration            01/01/70 00:00      
         Perhaps a bit more caution?            01/01/70 00:00      
   How would you do it on a PC?            01/01/70 00:00      
      Probably without using an 8052...            01/01/70 00:00      

Back to Subject List