All good reading! Respect for forum users. I would like to open the file for reading and writing simultaneously, but catching errors.
Also, in addition, I would like to sample a sample, or a short hint, how to read binary file one byte at a time?
no matching function for call to 'std::basic_iostream<char>::basic_iostream(const char [9], std::_Ios_Openmode)'|Code:std::iostream lzw_file("test.lzw", std::ios::binary|std::ios::in|std::ios::out );