Guest User

Untitled

a guest
Jan 23rd, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. for (int i = 0, j = i % strlen(user_input); i < strlen(plaintext); i++)
  2.  
  3. for (int i = 0, j = i % strlen(user_input); i < strlen(plaintext); i++) {
  4. ..
  5. j++; // or any change that you want to have in j like j =i+2
  6. // j = i%2
  7. }
  8.  
  9. size_t len1 = strlen(user_input);
  10. size_t len2 = strlen(plaintext);
  11. for (size_t i = 0, j = i % len1; i < len2; i++) {
  12. ..
  13. j++; // or any change that you want to have in j like j =i+2
  14. // j = i%2
  15. }
Add Comment
Please, Sign In to add comment