Advertisement
Askja

Untitled

Aug 16th, 2022
990
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.23 KB | None | 0 0
  1. #include <iostream>
  2. #include <cstring>
  3.  
  4. using namespace std;
  5.  
  6. int main() {
  7.     string path = "D:\\Pathname\\Superpuper";
  8.  
  9.     for (int k = path.length(); k >= 0; k--) {
  10.         printf("%c", path[k]);
  11.     }
  12.  
  13.     return 0;
  14. }
  15.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement