Advertisement
Guest User

Untitled

a guest
May 20th, 2018
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. char *DeCrypt( const char * szString )
  2. {
  3. int iLen = strlen( szString );
  4. char * szText = new char[iLen + 1];
  5.  
  6. for( int i = 0 ; i < iLen; ++i )
  7. {
  8. szText[i] = szString[i] - 1;
  9. }
  10.  
  11. szText[iLen] = 0;
  12. return szText;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement