Guest User

Untitled

a guest
Jan 18th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. #include <string>
  2. #include <iostream>
  3.  
  4. using namespace std;
  5.  
  6. int main() {
  7. const int SIZE = 20;
  8.  
  9. char earl1[SIZE] = "Krackalackin";
  10. char* ntc1 = earl1;
  11. int s1 = 0;
  12. int s2 = 1;
  13.  
  14. while (*ntc1 != '\0') {
  15. ntc1++;
  16. }
  17.  
  18. char reads2 = *(ntc1 - s2);
  19. char reads1 = *(earl1);
  20.  
  21. while (true) {
  22.  
  23.  
  24. s1++; s2++;
  25. }
  26.  
  27. system("pause"); return 0;
  28. }
Add Comment
Please, Sign In to add comment