Originally Posted by
grumpy
That command line will read input from a file named nput.txt and write to a file named utput.txt (assuming, in the processing of options, that it doesn't demand separation between -i/o and the filename).
thanks for the reply, but can u plz elaborate. i gave the command
Code:
./sample -c(compress) -4 (value of k) -1.txt(input file) -2.txt(output file)
but error message says:
Code:
Error: k must be between 1 and 7.
Usage: sample <options>
Options:
-c : Encode input file to output file.
-d : Decode input file to output file.
-k [1-7]: Length of binary portion.
-i <filename> : Name of input file.
-o <filename> : Name of output file.
-h | ? : Print out command line options.
i dont understand where i am wrong. how do i give option for encode and value for k
thanks