Faced the task of archiving files with the Huffman method, I work in binary mode and sometimes there is a terminating zero character in the files, which leads to problems with the use of string.
Question: Is it possible to somehow make the string consider it just a symbol? If so, how? And I really don’t want to suffer with Cish arrays of chars
std::stringand considers it just a symbol. stackoverflow.com/questions/164168/… - user194374