Guest User

Untitled

a guest
May 27th, 2018
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.43 KB | None | 0 0
  1. void display_pointer(int theSize)
  2. {
  3.     int counter = 0;
  4.     for(int i=0; (i < theSize); i++)
  5.     {
  6.        
  7.         char thePointer = decrypted[i];
  8.        
  9.         char* ipPtr;
  10.        
  11.         ipPtr= &thePointer;
  12.        
  13.         cout << *ipPtr;
  14.        
  15.         counter++;
  16.        
  17.         if(counter == 11)
  18.         {
  19.             cout << "(" << &ipPtr << ")";
  20.             counter = 0;
  21.            
  22.         }
  23.     }
  24. }
Add Comment
Please, Sign In to add comment