Esempio n. 1
0
File: LZW.cs Progetto: zzhi/Algs4Net
 /// <summary>
 /// Uses file names to direct input and output
 /// </summary>
 /// <param name="outputFileName">user input file, empty if from console</param>
 /// <param name="inputFileName">user output file</param>
 public LZW(string inputFileName, string outputFileName)
 {
     //Console.WriteLine("LZW with InFile={0} and OutFile={1}", inputFileName, outputFileName);
     input  = new BinaryInput(inputFileName);
     output = new BinaryOutput(outputFileName);
 }