Open alexey-malov opened 5 years ago
void CompressFile(istream &input, ostream &output)
{
char ch = '\0';
char next_ch = NULL;
void CompressFile(istream &input, ostream &output)
{
char ch = '\0';
char next_ch = NULL;
uint8_t count = 0;
while (input.get(ch))
{
next_ch = input.peek();
[ ] Символ с кодом 255 ошибочно принимается за EOF. Надо использовать int для хранения результата вызова peek
[ ] Добавить тест для этой ситуации