SHARE
TWEET

Untitled

a guest Dec 3rd, 2019 88 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. std::string DecodeString(const Node* const node, const std::string& filename)
  2. {
  3.     if (node != nullptr)
  4.     {
  5.         std::string charString = "";
  6.         for (char c : filename)
  7.         {
  8.             if (charString == node->compression)
  9.             {
  10.                 charString += node->value;
  11.             }
  12.             charString += c;
  13.  
  14.         }
  15.         std::cout << charString;
  16.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top