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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/24/04 11:06
Read: times


 
#81827 - Inefficient!
Responding to: ???'s previous message
not only do you have a superfluous loop counter, but it's also an int!

You don't need a counter for that loop - you don't use it for anything!

See the code in K&R for example.

This really does beg the question of why you're trying to write your own strcpy - clearly not for reasons of efficiency!

List of 16 messages in thread
TopicAuthorDate
strcpy - inrinsic?            01/01/70 00:00      
   C231            01/01/70 00:00      
      c231            01/01/70 00:00      
   Maybe not strcpy?            01/01/70 00:00      
      strcpy            01/01/70 00:00      
   Finding Keil error descriptions            01/01/70 00:00      
   odd            01/01/70 00:00      
      additional info: source code            01/01/70 00:00      
         additional info            01/01/70 00:00      
            Your code            01/01/70 00:00      
               Thanks            01/01/70 00:00      
         Inefficient!            01/01/70 00:00      
            Inefficient!            01/01/70 00:00      
   One thing to note            01/01/70 00:00      
   I just can't resist it            01/01/70 00:00      
      One common reason why.            01/01/70 00:00      

Back to Subject List