Advertisement
Guest User

Untitled

a guest
Feb 9th, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. int funkcja(char *from, char *to, int count){
  2. {
  3. int n = (count + 7) / 8;
  4.  
  5. switch(count % 8){
  6. case 0: do { *to++ = *from++;
  7. case 7: *to++ = *from++;
  8. case 6: *to++ = *from++;
  9. case 5: *to++ = *from++;
  10. case 4: *to++ = *from++;
  11. case 3: *to++ = *from++;
  12. case 2: *to++ = *from++;
  13. case 1: *to++ = *from++;
  14. } while(--n > 0);
  15. }
  16. }
  17. return count;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement