Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- std::string DecodeString(const Node* const node, const std::string& filename)
- {
- if (node != nullptr)
- {
- std::string charString = "";
- for (char c : filename)
- {
- if (charString == node->compression)
- {
- charString += node->value;
- }
- charString += c;
- }
- std::cout << charString;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement