1. Use ifstream to read the data from a file, and ofstream to write to decoded message to a file. 2. There are incompatibilities between compilers, so the provided library file might not work with all compilers. It has been tested to work with visual c++ 6.0 and mingw(devcpp).